-
Notifications
You must be signed in to change notification settings - Fork 804
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
chore: env vars for span limit as per specification #1653
chore: env vars for span limit as per specification #1653
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, quick question though, do we actually enforce those limits ?
@vmarchaud are you asking about https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-tracing/test/Span.test.ts#L330 or something else? |
@jtmalinowski Yeah that was my question, thanks for the link ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, although, I'll note that this significantly increases the default limits.
- max events per span was 128; now 1000
- attributes per span was 32; now 1000
- links per span was 32; now 1000
It is in line with the environment variable spec, however.
Which problem is this PR solving?
Short description of the changes