10 ms·
Great read! >> "Let me start by saying that if you are not alerting on accept queue overflows, well, you should." Does anyone know how to effectively keep a t
by ultimoo 9y ago
Great read!
>> "Let me start by saying that if you are not alerting on accept queue overflows, well, you should."
Does anyone know how to effectively keep a tab on this on a docker container running nginx open source? I have an external log/metrics monitoring server that could alert on this, but I'm asking more on the lines of how to get this information to the monitoring server.
- zaroth 9y agoIt sounded like there's a config directive to have Ingress Controller push all its metrics into Prometheus?
- guslees 9y agoIf it's helpful at all, here's a concrete example of a k8s nginx setup that exports-to/is-monitored-by prometheus: https://github.com/bitnami/kube-manifests/blob/master/common/nginx-ingress.jsonnet https://github.com/bitnami/kube-manifests/blob/master/common... (Start at https://engineering.bitnami.com/articles/an-example-of-real-kubernetes-bitnami.html https://engineering.bitnami.com/articles/an-example-of-real-... if you would prefer to approach that repo top-down)
- foxylion 9y agoIn this case (ingress controller) this is done with a Prometheus metric exporter. So all the metrics are available in Prometheus. https://github.com/hnlq715/nginx-vts-exporter https://github.com/hnlq715/nginx-vts-exporter