reverseproxy: Add upstreams healthy metrics (#4935)

This commit is contained in:
Dávid Szabó 2022-08-27 20:30:23 +02:00 committed by GitHub
parent 4c282e86da
commit 0c57facc67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 84 additions and 0 deletions

View file

@ -392,6 +392,9 @@ func (h *Handler) Provision(ctx caddy.Context) error {
}
}
upstreamHealthyUpdater := newMetricsUpstreamsHealthyUpdater(h)
upstreamHealthyUpdater.Init()
return nil
}