-
Notifications
You must be signed in to change notification settings - Fork 607
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
opentelemetry-instrumentation-asgi: do not set url.full
attribute for server spans
#2698
Comments
url.full
attribute for server spans and metricsurl.full
attribute for server spans
I'd like to work on this one and will submit a PR |
@emdneto Is the expectation to remove url.full attribute for both old and new semconv? |
Seems like we've always recorded |
Right. I would just pay attention to
|
@shijiadong2022 are you stil working on this? |
I am working on it. |
@emdneto when you get a chance can you review my PR? Thanks. |
Describe your environment
instrumentation-asgi: 0.47b0.dev
What happened?
asgi instrumentation is emitting
url.full
attribute in server spansSteps to Reproduce
Run any example of asgi instrumentation with new semconv opt-in enabled
Expected Result
Actual Result
Server span Attributes with
url.full
which isn't necessary for server span:Additional context
Seems we are setting
http.url
(for old semconv) since always but isn't really necessary anymore#2682 (comment)
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.11.0/specification/trace/semantic_conventions/http.md#http-server-semantic-conventions
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: