Allow shutdown-manager to watch non-http connections #6928
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/needs-triage
Indicates that an issue needs to be triaged by a project contributor.
Please describe the problem you have
In my setup, I'm using envoy to proxy TCP traffic. I noticed that the shutdown-manager doesn't work in such cases because it's hardcoded to watch http metrics :
(https://github.com/qcattez/contour/blob/main/cmd/contour/shutdownmanager.go#L36-L38)
To allow us to shutdown properly other connections than HTTP, it would be nice to either :
prometheusURL
andprometheusStat
prometheusStat
withenvoy_listener_downstream_cx_active
andprometheusURL
withhttp://unix/stats/prometheus?filter=^listener\\..*\\.downstream_cx_active$
A sample of my metrics :
What would be the best way ?
The text was updated successfully, but these errors were encountered: