mirror of
https://github.com/prometheus/prometheus
synced 2026-05-01 07:30:30 +08:00
Add datacenter to Consul service discovery logs (#9668)
* add datacenter to consul service discovery logs Signed-off-by: Conor Evans <coevans@tcd.ie>
This commit is contained in:
@@ -297,6 +297,7 @@ func (d *Discovery) getDatacenter() error {
|
||||
}
|
||||
|
||||
d.clientDatacenter = dc
|
||||
d.logger = log.With(d.logger, "datacenter", dc)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user