Documentation ¶
Index ¶
- type KubernetesMeta
- type ServiceStaticPrometheus
- func (p *ServiceStaticPrometheus) Description() string
- func (p *ServiceStaticPrometheus) Init(context pipeline.Context) (int, error)
- func (p *ServiceStaticPrometheus) Start(c pipeline.Collector) error
- func (p *ServiceStaticPrometheus) StartKubeReloadScraper()
- func (p *ServiceStaticPrometheus) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesMeta ¶ added in v1.7.1
type KubernetesMeta struct {
// contains filtered or unexported fields
}
KubernetesMeta means workload meta
func NewKubernetesMeta ¶ added in v1.7.1
func NewKubernetesMeta(ctx pipeline.Context) *KubernetesMeta
type ServiceStaticPrometheus ¶
type ServiceStaticPrometheus struct { Yaml string `` /* 153-byte string literal not displayed */ ConfigFilePath string `comment:"the prometheus configuration path, and the param would be ignored when Yaml param is configured."` AuthorizationPath string `` /* 247-byte string literal not displayed */ ExtraFlags map[string]string `` /* 177-byte string literal not displayed */ NoStaleMarkers bool `` /* 359-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ServiceStaticPrometheus) Description ¶
func (p *ServiceStaticPrometheus) Description() string
func (*ServiceStaticPrometheus) Init ¶
func (p *ServiceStaticPrometheus) Init(context pipeline.Context) (int, error)
func (*ServiceStaticPrometheus) Start ¶
func (p *ServiceStaticPrometheus) Start(c pipeline.Collector) error
Start starts the ServiceInput's service, whatever that may be
func (*ServiceStaticPrometheus) StartKubeReloadScraper ¶ added in v1.7.1
func (p *ServiceStaticPrometheus) StartKubeReloadScraper()
func (*ServiceStaticPrometheus) Stop ¶
func (p *ServiceStaticPrometheus) Stop() error
Stop stops the services and closes any necessary channels and connections
Click to show internal directories.
Click to hide internal directories.