prom

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileMap map[string]fileObj
View Source
var PathEnbale bool

Functions

func DeployAgent added in v1.1.0

func DeployAgent(agentType, instance, bin, ip, port, user, pwd, url string) (address string, err error)

func DeregisteConsul

func DeregisteConsul(guid string, fromCluster bool) error

func GetConfig

func GetConfig(name string, isGrp bool) (error, bool, m.RFGroup)

func GetEndpointData

func GetEndpointData(ip, port string, prefix, keyword []string) (error, []string)

func InitPrometheusConfigFile

func InitPrometheusConfigFile()

func RegisteConsul

func RegisteConsul(guid, ip, port string, tags []string, interval int, fromCluster bool) error

func ReloadConfig added in v1.3.0

func ReloadConfig() error

func SetConfig

func SetConfig(name string, isGrp bool, config m.RFGroup, exist bool) error

func StopAgent added in v1.1.0

func StopAgent(agentType, instance, ip, url string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL