mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-05 05:37:10 +02: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:
parent
cda025b5b5
commit
c28b9a0574
@ -297,6 +297,7 @@ func (d *Discovery) getDatacenter() error {
|
||||
}
|
||||
|
||||
d.clientDatacenter = dc
|
||||
d.logger = log.With(d.logger, "datacenter", dc)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user