Repository navigation
Breaking changes
- Requires
open-telemetry/sdk1.17 andtbachert/spi. The exporter and transport factories are registered through
SPI. Allow thetbachert/spiComposer plugin for the early registration, without it they are registered when the
package's autoload file loads, as before (#2120).
Deprecated
- Passing a
Temporalityor a string as the temporality ofMetricExporter. Pass a selector such as
TemporalityPreference::cumulative()orTemporalityPreference::delta(). The delta preference keeps
UpDownCounters cumulative, as the specification requires, whereTemporality::DELTAmade them delta. An exporter
built without a temporality is not deprecated. It uses each stream's temporality until 2.0, and cumulative from
2.0. PassTemporalityPreference::cumulative()to get that now (#2129).
Fixed
- With the
tbachert/spiplugin running, theotlpexporters and thehttptransport are available while the SDK
autoloads, whatever the order in which Composer includes the packages (#2120). - The
otlp/stdoutmetrics exporter readsOTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE, as theotlp
exporter does. It used each stream's temporality, so synchronous instruments were exported as delta (#2129).
Full Changelog: 1.5.0...1.6.0