Skip to content
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

如何在envoy的采集指标envoy_http_downstream_rq增加url_path的label #1484

Open
Guojie0922 opened this issue Nov 7, 2024 · 2 comments

Comments

@Guojie0922
Copy link

Why do you need it?

Is your feature request related to a problem? Please describe in details

How could it be?

A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.

Other related information

Add any other context or screenshots about the feature request here.

@johnlanni
Copy link
Collaborator

johnlanni commented Nov 7, 2024

https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-msg-config-route-v3-route

可以通过 envoyfilter 下发一个 route 的 stat_prefix,但是对所有 route 设置的话,路由数多的情况,会显著增加内存开销

另外,我之前我可能回复错了,这个是对于 envoy_http_upstream_rq 可以做到路由级指标

@johnlanni
Copy link
Collaborator

johnlanni commented Nov 7, 2024

liteMetrics: true

另外就是要把这个helm参数设置为 false,否则也不会吐出这个路由级指标

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants