Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.146.0
End User Changelog
🛑 Breaking changes 🛑
all: Increase minimum Go version to 1.25 (#14567)
🚩 Deprecations 🚩
pdata/pprofile: Declare removed aggregation elements as deprecated. (#14528)
💡 Enhancements 💡
-
all: Add detailed failure attributes to exporter send_failed metrics at detailed telemetry level. (#13956)
Theotelcol_exporter_send_failed_{spans,metric_points,log_records}metrics now include
failure attributes when telemetry level is Detailed:error.type(OpenTelemetry semantic convention
describing the error class) anderror.permanent(indicates if error is permanent/non-retryable).
Theerror.typeattribute captures gRPC status codes (e.g., "Unavailable", "ResourceExhausted"),
standard Go context errors (e.g., "canceled", "deadline_exceeded"),
and collector-specific errors (e.g., "shutdown").
This enables better alerting and debugging by providing standardized error classification. -
cmd/builder: Introduce new experimentalinitsubcommand (#14530)
The newinitsubcommand initializes a new custom collector -
cmd/builder: Add "telemetry" field to allow configuring telemetry providers (#14575)
Most users should not need to use this, this field should only be set if you
intend to provide your own OpenTelemetry SDK. -
cmd/mdatagen: Introduce additional metadata (the version since the deprecation started, and the deprecation reason) for deprecated metrics. (#14113) -
cmd/mdatagen: Add optionalrelationshipsfield to entity schema in metadata.yaml (#14284) -
exporter/debug: Addoutput_pathsconfiguration option to control output destination whenuse_internal_loggeris false. (#10472)
Whenuse_internal_loggeris set tofalse, the debug exporter now supports configuring the output destination via theoutput_pathsoption.
This allows users to send debug exporter output tostdout,stderr, or a file path.
The default value is["stdout"]to maintain backward compatibility. -
pkg/confmap: Add experimentalToStringMapRawfunction to decodeconfmap.Confinto a string map without losing internal types (#14480)
This method exposes the internal structure of aconfmap.Confwhich may change at any time without prior notice
🧰 Bug fixes 🧰
cmd/mdatagen: Reset aggDataPoints during metric init to avoid index out of range panic across emit cycles when reaggregation is enabled. (#14569)cmd/mdatagen: Fix panic when mdatagen is run without arguments. (#14506)pdata/pprofile: Fix off-by-one issue in dictionary lookups. (#14534)pkg/config/confighttp: Fix high cardinality span name from request method from confighttp server internal telemetry (#14516)
Follow spec to bound request method cardinality.pkg/otelcol: Ignore component aliases in theotelcol componentscommand (#14492)pkg/otelcol: Order providers and converters in alphabetical order in thecomponentssubcommand. (#14476)
API Changelog
🛑 Breaking changes 🛑
cmd/mdatagen: Flatten the metric stability field (#14113)
So we better match the weaver schema. Additional deprecation data can be set within thedeprecatedfield.
🚩 Deprecations 🚩
pdata/pprofile: Declare removed aggregation elements as deprecated. (#14528)