mirror of https://github.com/caddyserver/caddy.git
reverseproxy: Fix reinitialize upstream healthy metrics (#5498)
Co-authored-by: Dávid Szabó <david.szabo97@gmail.com>
This commit is contained in:
parent
3443a8a056
commit
2b04e09fa7
|
@ -39,6 +39,8 @@ func newMetricsUpstreamsHealthyUpdater(handler *Handler) *metricsUpstreamsHealth
|
|||
initReverseProxyMetrics(handler)
|
||||
})
|
||||
|
||||
reverseProxyMetrics.upstreamsHealthy.Reset()
|
||||
|
||||
return &metricsUpstreamsHealthyUpdater{handler}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue