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
CFP: Expose URL Path in HTTP metrics #26521
Comments
As far as I understand it L7 observability with Hubble monitor each HTTP request sent to your services, meaning that cardinality of such a thing might be infinite. I'm letting you check out this comment: prometheus/client_golang#491 (comment) |
This feature is available in istio service mesh, it uses same envoy as cilium does, and it does not contain such metrics out of the box too. So one nice solution would be to let user decide turning these dimensions on. |
I understand such metric, in case of a low cardinality in url path, but I'm not sure about implementing this directly inside cilium. Is there any workaround we can think about to enable this dimension without modifying the code base ? |
ok reopen and have some more discussion 🚀 |
I think if we can consider supporting this, but it would need to support a few things to keep cardinality reasonable:
Example:
And the config/regex would need to support transforming the URL into |
This issue has been automatically marked as stale because it has not |
This issue has not seen any activity since it was marked stale. |
/reopen |
Cilium Feature Proposal
Thanks for taking time to make a feature request for Cilium! If you have usage questions, please try the slack channel and see the FAQ first.
Is your feature request related to a problem?
Hubble L7 metrics currently does not export the http URL path, even though its available in Hubble flows; Not having access to this information is a huge bummer and a large part of why we want L7 visibility in the first place.
The only way to access this information outside of hubble currently is to export the file using
--hubble-export-file-path
and then parse that information, which isn't ideal...Describe the feature you'd like
Expose the URL path as labels for the hubble http metrics
http_requests_total
,http_responses_total
andhttp_request_duration_seconds
.(Optional) Describe your proposed solution
I'm happy to give this a shot if acceptable :)
The text was updated successfully, but these errors were encountered: