-
Notifications
You must be signed in to change notification settings - Fork 628
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
fix(opentelemetry-instrumentation-asgi): Correct http.url attribute generation #2477
Conversation
4271c3e
to
ffe44f8
Compare
pylint forced me to split the fastapi instrumentation tests, therefore I made a split into two files |
pipeline is already running 100% green within my fork, so its safe to approve workflows |
...tation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py
Outdated
Show resolved
Hide resolved
...tation/opentelemetry-instrumentation-asgi/src/opentelemetry/instrumentation/asgi/__init__.py
Outdated
Show resolved
Hide resolved
@samuelcolvin any chance you could take a look at this? |
I'll check this today. |
@Kludex it would be great if you can take a look at this, thanks |
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.
I don't think that amount of explanation is needed, besides a link to the docs, or issue on asgiref, but besides that... All good. 👍
ffe44f8
to
1970a3f
Compare
Changed the comments to prevent non required verbosity :) |
Refactored as suggested and rebased to main |
instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py
Show resolved
Hide resolved
1970a3f
to
25a3bed
Compare
instrumentation/opentelemetry-instrumentation-fastapi/tests/test_fastapi_instrumentation.py
Outdated
Show resolved
Hide resolved
6582ded
to
c7adf6e
Compare
rebased to main :) |
Could you rebase again? Seems like the pr does not allow for maintainer edits. |
c7adf6e
to
d4c5e60
Compare
@lzchen Rebase done |
The pr always needs rebasing if a different change gets merged. I suggest allowing maintainer edits on this branch or else we will have to continuously follow up with you. |
The thing is ... well tell me where to setup what, s.t. maintainers can edit :D I was/am not aware that I prevent that |
d4c5e60
to
5b3c4b0
Compare
…e generation even with sub apps (fixes open-telemetry#2476) - modify the instrumentation logic - add unittests on starlette instrumentation - add unittests on fastapi instrumentation
5b3c4b0
to
71f2dbf
Compare
Description
Correct http.url and http.target attribute generation even with sub apps (fixes #2476)
Fixes #2476
Type of change
Please delete options that are not relevant.
From my point of view existing logic won't break. Simply attributes generated will change according to their correct intended values.
How Has This Been Tested?
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.