mirror of
https://github.com/prometheus/prometheus
synced 2025-01-12 09:40:00 +00:00
docs: SD implementations do not have to only send new/changed target groups (#3713)
This commit is contained in:
parent
40acc632bb
commit
7dc05538f7
@ -140,7 +140,9 @@ type Discoverer interface {
|
||||
}
|
||||
```
|
||||
|
||||
Prometheus will call the `Run()` method on a provider to initialise the discovery mechanism. The mechanism will then send *all* the `TargetGroup`s into the channel. Now the mechanism will watch for changes and then send only changed and new `TargetGroup`s down the channel.
|
||||
Prometheus will call the `Run()` method on a provider to initialise the discovery mechanism. The mechanism will then send *all* the `TargetGroup`s into the channel.
|
||||
Now the mechanism will watch for changes. For each update it can send all `TargetGroup`s, or only changed and new `TargetGroup`s, down the channel. `Manager` will handle
|
||||
both cases.
|
||||
|
||||
For example if we had a discovery mechanism and it retrieves the following groups:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user