Document environment variables in go.opentelemetry.io/otel/sdk/log

Author: om7057Created Sep 23, 2026Updated Sep 24, 2026

Part of #2046.

Add an environment variables section to the go.opentelemetry.io/otel/sdk/log package documentation covering:

  • OTEL_BLRP_SCHEDULE_DELAY, OTEL_BLRP_EXPORT_TIMEOUT, OTEL_BLRP_MAX_QUEUE_SIZE, OTEL_BLRP_MAX_EXPORT_BATCH_SIZE
  • OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT, OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT

These are already documented on the individual options; this pulls them together into a single section in doc.go.

Source: open-telemetry/opentelemetry-go