Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Discoverer struct {
// contains filtered or unexported fields
}
func NewDiscoverer ¶
func (*Discoverer) ApplyConfig ¶
func (m *Discoverer) ApplyConfig(source allocatorWatcher.EventSource, scrapeConfigs []*promconfig.ScrapeConfig) error
func (*Discoverer) Close ¶
func (m *Discoverer) Close()
func (*Discoverer) Reload ¶
func (m *Discoverer) Reload()
Reload triggers a reload of the scrape configs. This will process the target groups and update the targets concurrently.
func (*Discoverer) Run ¶
func (m *Discoverer) Run() error
func (*Discoverer) UpdateTsets ¶
func (m *Discoverer) UpdateTsets(tsets map[string][]*targetgroup.Group)
UpdateTsets updates the target sets to be scraped.
Click to show internal directories.
Click to hide internal directories.