-
Notifications
You must be signed in to change notification settings - Fork 626
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
Add support for OTEL_BSP_* environment variables #1120
Conversation
5e1fcfc
to
5a21daa
Compare
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.
The change looks good, just a couple of comments. I'd like to see an update to the docs to list out available options.
) | ||
|
||
if max_export_batch_size is None: | ||
max_export_batch_size = Configuration().get( |
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.
We should have validation to ensure less than or equal to max queue size.
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.
I think this is already implemented here.
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.
Thanks for addressing my comments.
Fixes #1105
Description
Add support for
OTEL_BSP_*
environment variablesFixes #1105
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Added unit test case.
test_batch_span_processor_environment_variables
Checklist: