Tags: opentelemetry-php/sdk
Tags
stabilize logger.enabled (#1580) - update Logger.isEnabled signature to include context and severity number, per spec - accept event_name on a LogRecord - add event name to otlp logs payload - update or remove some comments that were based on the old logs-bridge specification
Refactor InMemory exporters to use shared storage manager (#1559) Introduced `InMemoryStorageManager` to centralize storage management for spans, metrics, and logs. Updated InMemory exporters and their factory classes to utilize this shared storage. * Add integration test for InMemoryExporter - add integration test that shows that storage contains metrics - because of src/SDK/Metrics/MetricReader/ExportingReader.php:148 I had to add `PushMetricExporterInterface` to InMemoryExporter class * Add integration test for InMemoryExporter
handle empty meter observers (#1490) * if no observers are registered for a meter's instruments, some tests were emitting php warnings: - foreach() argument must be of type array|object, null given - Undefined array key XXX null coalesce to an empty array to make the test happy. * handle empty writers
declarative config 0.3+ support (#1452) This brings declarative config support up to 0.3 plus some of the unreleased 0.4 features: * porting code from Nevay/otel-sdk-configuration * support 0.4 metric reader config * allow empty keys since open-telemetry/opentelemetry-specification#4269 empty keys are allows, and NULL is no longer equivalent to unset * update config example to remove empty objects * remove moved component providers from composer.json * add ComponentProviderRegistry::componentMap for instrumentation configuration
PreviousNext