opentelemetry-php
opentelemetry-php copied to clipboard
The OpenTelemetry PHP Library
**Is your feature request related to a problem?** According to the opentelemetry-specification [here](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#general-sdk-configuration), OTEL_PROPAGATORS variable can be used to configure propagators from the environment but currently, there is no mechanism...
The SdkBundle documentation could use same be improvements in regards of the configuration. - [ ] Show how to enable/disable the SDK or parts of it in different environements (dev,...
Closes #700 A new exporter for metrics using OTLP format. It is basically a copy of the existing `OpenTelemetry\Contrib\OtlpGrpc\Exporter` exporter for traces. OTLP conversion is borrowed from `OpenTelemetry\Contrib\Otlp\SpanConverter`. I also...
Current implementation works, but could be updated to be more performant/efficient. _Originally posted by @bobstrecansky in https://github.com/open-telemetry/opentelemetry-php/pull/437#discussion_r721869389_
Specification Reference: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/opentracing.md OpenTracing PHP repository: https://github.com/opentracing/opentracing-php
[Export()](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#exportbatch) defines only `Success` and `Failure`. The differentiation between `STATUS_FAILED_NOT_RETRYABLE` and `STATUS_FAILED_RETRYABLE` isn't useful to the caller as "retry logic is the responsibility of the exporter".
Simplifies mocking and allows using `enum`s as `ContextKey`.
Related: https://github.com/open-telemetry/opentelemetry-php/pull/782
> [Export()](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#exportbatch) will never be called concurrently for the same exporter instance. This PR calls `::export()` in a synchronous loop to prevent concurrent calls to `::export()`. Note that this might...
Missed out implementing B3 Single Header in #680. Closes #500.