mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-28 06:59:40 -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. |
||
---|---|---|
.. | ||
fixtures | ||
kubernetes | ||
marathon | ||
consul.go | ||
dns.go | ||
file.go | ||
file_test.go | ||
kubernetes.go | ||
marathon.go | ||
marathon_test.go | ||
serverset.go |