Re-add server up metrics
This commit is contained in:
parent
5e63ab619e
commit
f2e53a3569
3 changed files with 36 additions and 18 deletions
|
@ -236,8 +236,7 @@ func (m *Manager) LaunchHealthCheck() {
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME metrics and context
|
||||
healthcheck.GetHealthCheck().SetBackendsConfiguration(context.Background(), backendConfigs)
|
||||
healthcheck.GetHealthCheck(m.metricsRegistry).SetBackendsConfiguration(context.Background(), backendConfigs)
|
||||
}
|
||||
|
||||
func buildHealthCheckOptions(ctx context.Context, lb healthcheck.Balancer, backend string, hc *dynamic.HealthCheck) *healthcheck.Options {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue