mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 07:52:28 +00:00
nits
This commit is contained in:
parent
546c29af5b
commit
abfd9f1920
@ -75,7 +75,7 @@ type Manager struct {
|
||||
actionCh chan func(context.Context)
|
||||
discoverCancel []context.CancelFunc
|
||||
// Some Discoverers(eg. k8s) send only the updates for a given target group
|
||||
// so we use map[tg.Source]*targetgroup.Group to know which group to update.
|
||||
// so we use map[tg.Source]*targetgroup.Group to know which group to update.
|
||||
targets map[poolKey]map[string]*targetgroup.Group
|
||||
// The sync channels sends the updates in map[targetSetName] where targetSetName is the job value from the scrape config.
|
||||
syncCh chan map[string][]*targetgroup.Group
|
||||
|
Loading…
Reference in New Issue
Block a user