open-telemetry / opentelemetry-php

The OpenTelemetry PHP Library
https://opentelemetry.io/docs/instrumentation/php/
Apache License 2.0
751 stars 186 forks source link

Implement Environment Variables #302

Closed jodeev closed 2 years ago

jodeev commented 3 years ago

Implement Environment Variables per the spec, we should follow the naming convention as specified, see OpenTelemetry Environment Variable Specification.

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.

brettmc commented 2 years ago

Implemented in https://github.com/open-telemetry/opentelemetry-php/pull/469 - I think this issue can be closed.