We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Python implementation of BatchSpanProcessor doesn't cancel the export call after the EXPORT_TIMEOUT duration. An end user can pass a value or set an env var OTEL_BSP_EXPORT_TIMEOUT to instruct how long processor can wait for export before cancelling. Python implementation doesn't use it and waits for exporter to return https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-sdk/src/opentelemetry/sdk/trace/export/__init__.py#L330-L336. Looking at the go implementation for comparison https://github.com/open-telemetry/opentelemetry-go/blob/main/sdk/trace/batch_span_processor.go#L213 it does cancel after export timeout. I am wondering if there was any deliberate reason for not doing (there is no easy way to achieve it in python?).
BatchSpanProcessor
OTEL_BSP_EXPORT_TIMEOUT
export
The text was updated successfully, but these errors were encountered:
This issue was marked stale due to lack of activity. It will be closed in 30 days.
Sorry, something went wrong.
No branches or pull requests
Python implementation of
BatchSpanProcessor
doesn't cancel the export call after the EXPORT_TIMEOUT duration. An end user can pass a value or set an env varOTEL_BSP_EXPORT_TIMEOUT
to instruct how long processor can wait forexport
before cancelling. Python implementation doesn't use it and waits for exporter to return https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-sdk/src/opentelemetry/sdk/trace/export/__init__.py#L330-L336. Looking at the go implementation for comparison https://github.com/open-telemetry/opentelemetry-go/blob/main/sdk/trace/batch_span_processor.go#L213 it does cancel after export timeout. I am wondering if there was any deliberate reason for not doing (there is no easy way to achieve it in python?).The text was updated successfully, but these errors were encountered: