opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

Load configuration from environment variable

Open ruifernando7 opened this issue 2 years ago • 2 comments

Is there any built-in environment variable to configure serviceName and jaeger exporter?

  • [ ] This only affects the JavaScript OpenTelemetry library
  • [ ] This may affect other libraries, but I would like to get opinions here first

ruifernando7 avatar Apr 29 '22 15:04 ruifernando7

service name can be configured via OTEL_SERVICE_NAME or OTEL_RESOURCE_ATTRIBUTES as per https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#general-sdk-configuration

jaeger exporter can be configured via these env vars: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#jaeger-exporter

naseemkullah avatar May 29 '22 20:05 naseemkullah

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar Aug 01 '22 06:08 github-actions[bot]

This issue was closed because it has been stale for 14 days with no activity.

github-actions[bot] avatar Aug 22 '22 06:08 github-actions[bot]