Skip to content

Support configuration of the SDK with environment variables #1698

@MrAlias

Description

@MrAlias

The specification states:

SDKs MAY choose to allow configuration via the environment variables in this specification, but are not required to. If they do, they SHOULD use the names listed in this document.

Currently we only support the OTEL_RESOURCE_ATTRIBUTES environment variable and have plans to support the OTLP exporter configuration via environment variables.

To accelerate the release of a stable 1.0.0 release we have postponed implementing this. After this release we need to implement the specified environment variables to support users requiring this.

  • OTEL_RESOURCE_ATTRIBUTES
  • OTEL_LOG_LEVEL
  • OTEL_PROPAGATORS
  • OTEL_TRACES_SAMPLER
  • OTEL_TRACES_SAMPLER_ARG
  • OTEL_BSP_SCHEDULE_DELAY
  • OTEL_BSP_EXPORT_TIMEOUT
  • OTEL_BSP_MAX_QUEUE_SIZE
  • OTEL_BSP_MAX_EXPORT_BATCH_SIZE
  • OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT
  • OTEL_SPAN_EVENT_COUNT_LIMIT
  • OTEL_SPAN_LINK_COUNT_LIMIT
  • OTEL_EXPORTER_JAEGER_AGENT_HOST
  • OTEL_EXPORTER_JAEGER_AGENT_PORT
  • OTEL_EXPORTER_JAEGER_ENDPOINT
  • OTEL_EXPORTER_JAEGER_USER
  • OTEL_EXPORTER_JAEGER_PASSWORD
  • OTEL_EXPORTER_ZIPKIN_ENDPOINT
  • OTEL_TRACES_EXPORTER

Metadata

Metadata

Assignees

No one assigned

    Labels

    pkg:SDKRelated to an SDK packagepkg:exporter:jaegerRelated to the Jaeger exporter packagepkg:exporter:zipkinRelated to the Zipkin exporter package

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions