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 NewDiscoverer(log logr.Logger, manager *discovery.Manager, hook discoveryHook, scrapeConfigsUpdater scrapeConfigsUpdater) *Discoverer
func (*Discoverer) ApplyConfig ¶
func (m *Discoverer) ApplyConfig(source allocatorWatcher.EventSource, scrapeConfigs []*promconfig.ScrapeConfig) error
func (*Discoverer) Close ¶
func (m *Discoverer) Close()
type Item ¶
type Item struct {
JobName string `json:"-"`
Link LinkJSON `json:"-"`
TargetURL []string `json:"targets"`
Labels model.LabelSet `json:"labels"`
CollectorName string `json:"-"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.