Tags: opentelemetry-php/sdk
Tags
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
Remove `MeterInterface::isEnabled()` and fix meter config re-enabling… … (#1387)
adding config provider (#1366) implement recent additions to the otel spec re: config provider. Config provider should return a ConfigProperties, but we were already returning a ConfigurationRegistry. Added a ConfigProperties interface for ConfigurationRegistry to implement, which gets us pretty close to spec. We don't make ConfigProvider globally available, instead passing the ConfigurationRegistry in to each instrumentation as we register it. The spec allows for this.
PreviousNext