-
Notifications
You must be signed in to change notification settings - Fork 440
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
[Bug]: OTEL_RESOURCE_ATTRIBUTES
doesn't support some characters in the accepted range
#2110
Labels
Comments
Can you elaborate? Resources are expected to support OTel Attributes. What part is it missing, so we can fix it |
Sure! If I pass something like a base64-encoded value (anything that ends with an equal sign really) with |
wperron
added a commit
to wperron/opentelemetry-rust
that referenced
this issue
Sep 16, 2024
Values passed in to `OTEL_RESOURCE_ATTRIBUTES` containing an equal sign `"="` are currently ignored by the Resource constructor, but should be accepted as it is part of the [W3C Baggage octet range](https://www.w3.org/TR/baggage/#header-content). Fixes open-telemetry#2110
4 tasks
wperron
added a commit
to wperron/opentelemetry-rust
that referenced
this issue
Sep 16, 2024
Values passed in to `OTEL_RESOURCE_ATTRIBUTES` containing an equal sign `"="` are currently ignored by the Resource constructor, but should be accepted as it is part of the [W3C Baggage octet range](https://www.w3.org/TR/baggage/#header-content). Fixes open-telemetry#2110
wperron
added a commit
to wperron/opentelemetry-rust
that referenced
this issue
Sep 16, 2024
Values passed in to `OTEL_RESOURCE_ATTRIBUTES` containing an equal sign `"="` are currently ignored by the Resource constructor, but should be accepted as it is part of the [W3C Baggage octet range](https://www.w3.org/TR/baggage/#header-content). Fixes open-telemetry#2110
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
Some characters in the W3C Baggage octet-range, namely the equal sign (
=
) breaks Resource initialization from env.API Version
0.24
SDK Version
0.24
What Exporter(s) are you seeing the problem on?
N/A
Relevant log output
No response
The text was updated successfully, but these errors were encountered: