mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -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:
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 a new issue