Skip to content

Release 1.7.0

Latest

Choose a tag to compare

@opentelemetry-php opentelemetry-php released this 04 Dec 01:55

Breaking changes

  • Requires open-telemetry/sdk 1.19 (#2144).
  • Requires open-telemetry/api 1.11, for the exporters' default logger (#2160).
  • LogsExporter no longer gives subclasses the protected static log helpers from LogsMessagesTrait. logDebug()
    to logError() are now private instance methods, so a subclass that calls them gets an error, and one that
    redeclares them is no longer called. A subclass that logs can use LogsMessagesTrait itself (#2160).

Added

  • SpanExporter, MetricExporter and LogsExporter accept a PSR-3 logger for their internal messages. Without
    one, messages still go to the global internal logger and its level (#2160).

Fixed

  • An invalid signal-specific timeout, such as OTEL_EXPORTER_OTLP_TRACES_TIMEOUT=abc, falls back to
    OTEL_EXPORTER_OTLP_TIMEOUT, as an unset one does. It threw an exception (#2144).

Full Changelog: 1.6.0...1.7.0