-
Notifications
You must be signed in to change notification settings - Fork 361
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
Enriching the Prometheus metric labels emitted by Envoy from xRoute labels #2488
Comments
hey @ardikabs can you share a little more info on the intent ? does this allow specific teams/apps to concentrate/filter on their relevant metrics ? |
hi @arkodg , here are the objectives:
But please enlighten me, whether this can actually be done at the moment. |
reg 1. before we decide to copy input labels to output, would default labels such as reg2. have you tried enabling |
EG can provide mechanism support this, but IMO should be default off. |
I would say for my use case, doesn't seem to help. I mean, what if add an opt-in possibility for the user to add additional labels to the metric, for example, from the xRoute labels itself?
I tried this, but it doesn't appear to align with my need, because I'm expecting any metric associated to HTTPRoute information should include additional details, because we can see in HTTPRoute spec also specify hostname. However, I would appreciate clarification if I have misunderstood this understanding. |
and actually enableVirtualHostStats does not contain metric for instance duration buckets |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. |
Enriching access logs and traces with various XDS metadata is supported, but not metrics.
It would be great to be able to add Prometheus metrics labels and Opentelemetry attributes, using XDS metadata. |
will these cause memory leak after the resourced removed? |
Description:
Although metrics emitted by the envoy instance look good, it shows a very limited label in it, for example:
Subsequently, wonder about the feasibility of adding more valuable information, such as the labels from
xRoute
resources directly into the metric.An example of this could be the application of the following
HTTPRoute
manifest:As a result, the Envoy-emitted metric would appear as shown below:
[optional Relevant Links:]
The text was updated successfully, but these errors were encountered: