-
Notifications
You must be signed in to change notification settings - Fork 183
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
http.response.header.content-length
and http.request.header.content-length
attributes are missing
#1439
Comments
maybe we can make this clearer in the deprecation note |
Hi @trask, I am the one who opened the discussion that lead to this issue being filed. Firstly thanks for putting up your PR, but your clarification doesn't have much contextual impact for me. I understand that there are potentially many keys under What I think I am missing is that why there is no I am wondering if we should be using |
hi @IdlePhysicist!
I'm not sure if/how Go encodes these special semantic attributes, probably @pellared can guide you better there. Here's how they work in Java: |
Go (and the collector) do not support template attribute types in their semconv gen. There's actually a decent class of things not supported in Go that have evolved in Semconv. We had a discussion withing the WG recently (about this). @MrAlias and @dashpole may be able to give a better estimate on when those may be supported in Go. I haven't been able to keep up to date on the status there myself. References open-telemetry/opentelemetry-go#5668 so this context is available for whomever updates semconv for Go. |
Area(s)
area:http
What happened?
The
http.response.header.content-length
andhttp.request.header.content-length
attributes are missing or the deprecated attributes have improper description.See: https://github.com/search?q=repo%3Aopen-telemetry%2Fsemantic-conventions%20http.response.header.content-length&type=code
CC @IdlePhysicist
Semantic convention version
v1.27.0
Additional context
Discussed in open-telemetry/opentelemetry-go#5853
The text was updated successfully, but these errors were encountered: