-
-
Notifications
You must be signed in to change notification settings - Fork 301
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
OpenTelemetryMetrics should record matched route pattern only, rather than raw path #337
Comments
Unfortunately, for now, structure of |
It's a very good proposal, and it's totally achievable, I'll add it later. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
I think this is still worth implementing. |
To achieve this goal, we have to re-design Route module, is there anyone would like to handle this, or post some web-framework-route module design to help us. |
I'll start working on this later. |
I added a |
is there any exmaple for path_pattern?I'm not sure how to use it |
You don't need to do anything, I've added the
|
For now, OpenTelemetryMetrics record request uri as metric label, which may cause serious problem, like OOM, in those case
/users/:id
Which means, we should record matched route pattern only, in above cases, prometheus should record label
/users/:id
only, and ignoreNotFound
responses,The text was updated successfully, but these errors were encountered: