-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support histogram metrics in prometheus #557
Comments
What kind of metrics do you have in mind? response times? requests sizes? One problem I see is that having them labeled with servername/vhost is ok but it rarely is enough. Normally you need those metrics by different api endpoints. But you can't just add the request path as a label because that might contain ids creating a unbounded amount of time series. At the ingress layer there is no way to give a proper label for different parts of a backend api. Only the backend app itself can do that. We are using https://github.com/knyar/nginx-lua-prometheus in our nginx ingress controller (with a custom config template) to get detailed request counts by status code with success. Unfortunately this library also comes with a caveat that limits the amount if time series you can create which is not optimal in the case of histograms. |
Exactly, do you have another metrics in mind?
Good point on monitoring endpoints. I was not thinking about it but we can achieve this changing the vts filter |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/lifecycle frozen |
Ingress should support histogram metrics
The text was updated successfully, but these errors were encountered: