-
Notifications
You must be signed in to change notification settings - Fork 650
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
Remove erroneous type
attribute from asgi instrumentation
#2145
Conversation
I'd also be happy to change this to use a semconv HTTP attribute, but I couldn't see one that would be appropriate. |
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.
Could you remove the type attribute from the tests?
in the test_asgi_middleware.py file
Line 641 in 6c13a5e
"type": "websocket", |
Will do. |
How about renaming the attribute to |
574e654
to
e25d2cf
Compare
Okay, I've fixed tests, but on balance I think I agree with @alexmojaki that we should keep
No, that's the ASGI |
Yeah. I'd call it |
replaced by #2300. |
Description
As per #2055 (comment) this PR removes the undocumented and non-specific attribute
type
fromopentelemetry-instrumentation-asgi
.Fixes #2055
Type of change
Please delete options that are not relevant.
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
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.