-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add labels on 1xx, 2xx, etc metrics #33545
Comments
Thanks for the suggestion! |
@adisuissa |
I look at this from an Envoy perspective which isn't looking at specific headers, because there may be many and it will not scale well. |
@adisuissa envoy is proxy and this is for company level proxy in almost all times.. that means headers might differ per corp by corp.. and headers are restricted in corps. envoy might use control plane (like Istio) for configuration.. If I make a CRD (header metric configuration) for Istio, I can easily collect the metrics (including header information) from envoy proxy.. In this case, what many, not scale problems happen? sorry I totally don't understand your explanation.. And for the custom filter, should I create a lua filter right..? Do you know any other filters that I can use? |
Maybe it is I that don't understand your original request. |
let me explain it In prometheus metrics, right now there are metrics like this.
but I wanna add some configurations and make some labels.. if I set headers like "app_version", "os_version"
This is the one that I suggested.. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions. |
Title: Add labels on 1xx, 2xx, etc metics
Description:
envoy provides upstream_rq_<*xx> metrics, but in some cases, I wanna aggregate the data using request headers or response headers. If I know that some requests in latest app version fail, I can easily find out that something wrong in latest app version..
Could you add some labels on rq_*xx metrics? labels can be req, res headers..
Actually, in nginx, I can easily add that kind of aggregation using nginx vts module. https://github.com/vozlt/nginx-module-vts?tab=readme-ov-file#vhost_traffic_status_filter
Please consider to add this kind of feature..
[optional Relevant Links:]
The text was updated successfully, but these errors were encountered: