mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 15:53:17 +00:00
reverseproxy: Add upstreams healthy metrics (#4935)
This commit is contained in:
parent
4c282e86da
commit
0c57facc67
2 changed files with 84 additions and 0 deletions
|
@ -392,6 +392,9 @@ func (h *Handler) Provision(ctx caddy.Context) error {
|
|||
}
|
||||
}
|
||||
|
||||
upstreamHealthyUpdater := newMetricsUpstreamsHealthyUpdater(h)
|
||||
upstreamHealthyUpdater.Init()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue