Repository navigation
Releases
Releases · opentelemetry-php/api
Release 1.11.0
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
Release 1.10.1
What's Changed:
Full Changelog: 1.10.0...1.10.1
Release 1.10.0
What's Changed:
- fix: preserve debug log level priority in Logging::level() by @jorgsowa in 1991
- feat(sdk): implement OTel SDK self-observability metrics by @intuibase in 1987
- Add W3C Baggage boundary tests and entry-counter comment (follow-up to #1975) by @tonghuaroot in 1976
- Enforce W3C Baggage size and entry-count caps in Parser by @tonghuaroot in 1975
- Add trigger_error as Log Destination Option by @SoulofAkuma in 1939
Full Changelog: 1.9.0...1.10.0
Release 1.9.0
What's Changed:
Full Changelog: 1.8.0...1.9.0
Release 1.8.0
What's Changed:
Full Changelog: 1.7.1...1.8.0
Release 1.7.1
What's Changed:
- Propagate Trace Context Level 2 random flag by @Nevay in 1731
- Chore: fix docs url by @pieterocp in 1730
- Make
ResourceInfoavailable to component providers by @Nevay in 1729
Full Changelog: 1.7.0...1.7.1
Release 1.7.0
What's Changed:
Full Changelog: 1.6.0...1.7.0
Release 1.6.0
What's Changed:
- feat: Add experimental response propagator interface by @jerrytfleung in 1712
Full Changelog: 1.5.0...1.6.0
Release 1.5.0
What's Changed:
Full Changelog: 1.4.0...1.5.0
Release 1.4.0
What's Changed:
- add Logger.Enabled event name parameter by @brettmc in 1632
- Allows API packages to specify file-based and env-based config by @Nevay in 1621
Full Changelog: 1.3.0...1.4.0