Repository navigation
Breaking changes
- Conflicts with
open-telemetry/sdk-configurationbelow 0.10, which registers the same
propagator providers. Upgrade it with this package (#2107). ConfigProviderInterface::getInstrumentationConfig()takes an optionalContext. Implementations
must add the parameter. The interface is experimental (#2076).- Requires PHP 8.2, and no longer requires
symfony/polyfill-php82(#2091).
Added
- The
tracecontextandbaggagepropagator providers for declarative configuration, registered
through SPI. They used to ship inopen-telemetry/sdk-configuration(#2107). Severity::fromName()andSeverity::toPsr3()(#2068).Context::withLogger()(#2068).Logging::setLogLevel(), which takes precedence overOTEL_LOG_LEVEL, and
Logging::restoreLogLevel()(#2068).symfony/configis suggested, for implementing aComponentProvider(#2097).
Changed
Context's default logger writes to the internal logger, filtered byOTEL_LOG_LEVEL. It was a
NullLogger(#2068).trace()andWithSpanHandlerno longer setexception.escaped, which semantic conventions
deprecated (#2092).TracerInterface::isEnabled()andInstrument::isEnabled()are no longer experimental
(#2092).- These are marked experimental:
ConfigProviderInterface,NoopConfigProviderand
NoopConfigProperties(#2076),ConfigPropertiesandConfigurationRegistry(#2093),
HttpConfigandPeerConfig(#2097). - Each
SystemClockhas its own reference time. It used to be shared by all instances (#2041). - A log writer that throws no longer breaks the code that logs.
LogsMessagesTraitswallows the
exception (#2101).
Deprecated
NoopEventLoggerandNoopEventLoggerProvider, with the rest of the Events API (#2092).
Full Changelog: 1.10.1...1.11.0