-
Notifications
You must be signed in to change notification settings - Fork 835
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
feat: add HTTP_ROUTE attribute to http incoming metrics if present #3581
feat: add HTTP_ROUTE attribute to http incoming metrics if present #3581
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this!
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3581 +/- ##
=======================================
Coverage 93.96% 93.96%
=======================================
Files 260 260
Lines 7803 7805 +2
Branches 1621 1622 +1
=======================================
+ Hits 7332 7334 +2
Misses 471 471
|
Thanks! Could you run the workflow again @legendecas? |
Would you mind adding an entry to /~https://github.com/open-telemetry/opentelemetry-js/blob/main/experimental/CHANGELOG.md? Thanks! |
Done @legendecas |
Hey @legendecas! Given I don't have write permission, someone else must merge this PR. do we have a timeline? Just to understand when I could use this new version |
We need another approval from @open-telemetry/javascript-approvers then we can land this PR. |
Maybe worth to mention that this likely wont work with e.g. fastify because there Created open-telemetry/opentelemetry-js-contrib#1381 to track this. |
Hello @Flarna valid point! But it doesn’t block this change right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for adding this 🙂
experimental/packages/opentelemetry-instrumentation-http/test/functionals/utils.test.ts
Outdated
Show resolved
Hide resolved
I don't think it is a blocker to this. |
No blocker. Just want to leave this info to avoid others start debugging if the "wrong" framework is used. |
Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
Which problem is this PR solving?
Fixes #3553
Short description of the changes
Add HTTP_ROUTE attribute to metrics if SpanAttribute also has it.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: