Repository navigation
Breaking changes
- Requires PHP 8.2 (#2091) and
open-telemetry/sdk1.16 (#2095). - Requires
open-telemetry/gen-otlp-protobuf1.11.1, which requiresgoogle/protobuf4.31.
ext-protobuf, if installed, must also be 4.31. The exporters throw aRuntimeExceptionon
construction if it is older. JSON export encodes enums with
PrintOptions::ALWAYS_PRINT_ENUMS_AS_INTS, and the fallback for older versions is removed
(#2110).
Added
OTEL_EXPORTER_OTLP_[SIGNAL_]CERTIFICATE,OTEL_EXPORTER_OTLP_[SIGNAL_]CLIENT_CERTIFICATEand
OTEL_EXPORTER_OTLP_[SIGNAL_]CLIENT_KEYare passed to the transport (#2059).OTEL_EXPORTER_OTLP_[SIGNAL_]INSECURE. A gRPC endpoint without a scheme useshttps, or
httpwhen this is true (#2059).MetricExporteraccepts anAggregationTemporalitySelectorInterface(#2095).
Changed
- The
User-Agentheader isOTel-OTLP-Exporter-PHP/<version>, as the spec says (#2092). - Histogram data points without min and max, such as from
record_min_max: false, are exported
without them (#2093).
Deprecated
- A gRPC endpoint with a path. It is used as is, with a deprecation warning, and will become an
error (#2059).
Fixed
- With
grpcand no endpoint set, the exporter used the HTTP defaulthttp://localhost:4318. It
useshttp://localhost:4317(#2059). - A signal-specific gRPC endpoint, such as
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, was used without
the gRPC method (#2059). - A trailing
/on a gRPC endpoint was read as a path (#2095). OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCEis applied per instrument kind.deltamade
up-down counters delta too (#2095).- A configured
User-Agentwas sent beside the default one when its case differed. Header names
merge case-insensitively, and a configured header wins (#2095). - Declarative config
headers_listvalues are percent-decoded, asOTEL_EXPORTER_OTLP_HEADERS
values are (#2095).
Full Changelog: 1.4.0...1.5.0