mirror of
https://github.com/containous/traefik.git
synced 2025-01-11 05:17:52 +03:00
Fix error when setting ServerUp metric labels
This commit is contained in:
parent
08279047ae
commit
3f8aa13e68
@ -141,8 +141,7 @@ func (shc *ServiceHealthChecker) Launch(ctx context.Context) {
|
||||
shc.info.UpdateServerStatus(target.String(), statusStr)
|
||||
|
||||
shc.metrics.ServiceServerUpGauge().
|
||||
With("service", proxyName).
|
||||
With("url", target.String()).
|
||||
With("service", proxyName, "url", target.String()).
|
||||
Set(serverUpMetricValue)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user