open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.79k stars 624 forks source link

Expose max_export_batch_size as environment variable #3687

Open gsakkis opened 8 months ago

gsakkis commented 8 months ago

AFAICT max_export_batch_size introduced in https://github.com/open-telemetry/opentelemetry-python/pull/2809 cannot be set as an environment variable.

ocelotl commented 4 months ago

Not sure if we should add support for this environment variable, it seems to me like the spec only mentions OTEL_BSP_MAX_EXPORT_BATCH_SIZE and OTEL_BLRP_MAX_EXPORT_BATCH_SIZE.