Fix error when setting ServerUp metric labels
This commit is contained in:
parent
08279047ae
commit
3f8aa13e68
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue