Skip to content

How to set an environmental variable OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT? #2214

Closed Answered by cijothomas
indoyoon asked this question in Q&A
Discussion options

You must be logged in to vote

https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/#span-limits is not OpenTelemetry documentation, but it is OTel specification. Different language implementations are at different levels in terms on implementation of each spec aspect, especially the support for ENV variables as OTel spec lists ENV variable as optional.

OTel Rust does not support this env variable today. So you have to manually set it when building TracerProvider.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cijothomas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants