Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + const CadvisorModule + const DefaultBcsModuleLabelKey + const DiscoveryFileName + const NodeexportModule + type Discovery interface + GetPromSdConfigFile func(module string) string + GetPrometheusSdConfig func(module string) ([]*types.PrometheusSdConfig, error) + RegisterEventFunc func(handleFunc EventHandleFunc) + Start func() error + func NewBcsDiscovery(zkAddr string, promFilePrefix string, module []string) (Discovery, error) + func NewNodeEtcdDiscovery(kubeconfig string, promFilePrefix, module string, ...) (Discovery, error) + func NewNodeZkDiscovery(zkAddr []string, promFilePrefix, module string, ...) (Discovery, error) + func NewServiceMonitor(kubeconfig string, promFilePrefix, module string) (Discovery, error) + type EventHandleFunc func(dInfo Info) + type Info struct + Key string + Module string