Tobias Bachert
Tobias Bachert
[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...
- `SimpleSpanProcessor::forceFlush()` has to force-flush exporter - `BatchSpanProcessor::onEnd()` shouldn't force-flush exporter
**Is your feature request related to a problem?** Currently `composer require open-telemetry/sdk` requires installation of http-related packages. ``` $ composer require open-telemetry/sdk open-telemetry/sdk 0.0.13 requires php-http/async-client-implementation ^1.0 -> could not...
Adds global (context-scoped) tracer provider & co, intended to replace the current `InstrumentationInterface`. ```php $scope = InstrumentationConfigurator::create() ->withTracerProvider($tracerProvider) ->withPropagator($propagator) ->activate(); try { // ... } finally { $scope->detach(); } ```...
Implements an extensible file configuration format to support [opentelemetry-configuration](https://github.com/open-telemetry/opentelemetry-configuration). It uses `symfony/config` for creation and validation of the configuration schema. New components can be added by implementing `ComponentProvider` and `ServiceLoader::register()`ing...
PHP ^8.2 allows manipulation of observers at runtime https://github.com/php/php-src/pull/9062. Should allow us to remove the limitation that hooks must be registered before a function is first executed. https://github.com/open-telemetry/opentelemetry-php-instrumentation?tab=readme-ov-file#caveats > Hooks...