mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-29 14:43:21 -08:00
48e461f7db
Instead of only filling __meta_consul_dc when datacenter is set in consul_sd_config this change fills the label based on what the agent reports it's current data center is, if datacenter isn't manually set, otherwise it uses whatever datacenter was set to. |
||
---|---|---|
.. | ||
discovery | ||
testdata | ||
helpers_test.go | ||
relabel.go | ||
relabel_test.go | ||
target.go | ||
target_test.go | ||
targetmanager.go | ||
targetmanager_test.go |