-
Notifications
You must be signed in to change notification settings - Fork 858
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
Empty string should be a valid attribute value #5501
Comments
It looks like the implementation ignores |
/assign erharjotsingh |
hello @jack-berg @trask |
There are tests that covers it for the |
From https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute:
Empty strings are important for
url.query
where empty strings are important to preserve to represent urls likehttp://xyz/path?
The Span API javadoc currently says that the behavior for an empty string value is "undefined" (I haven't checked what the actual implementation does):
opentelemetry-java/api/all/src/main/java/io/opentelemetry/api/trace/Span.java
Lines 94 to 95 in 60bb0a7
The text was updated successfully, but these errors were encountered: