v1.36.0/v0.130.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.130.0
End User Changelog
❗ Known Issues ❗
-
Due to a bug in the internal telemetry Prometheus exporter, if you are configuring an internal telemetry Prometheus exporter, the collector's internal metrics will be emitted with an unexpected suffix in its name. For example, the metric
otelcol_exporter_sent_spans__spans__total
instead ofotelcol_exporter_sent_spans_total
. The workaround is to manually configurewithout_units: true
in your internal telemetry Prometheus exporter configservice: telemetry: metrics: readers: - pull: exporter: prometheus: host: 0.0.0.0 port: 8888 without_units: true
If you are using the collector's default internal telemetry Prometheus exporter for exporting internal metrics you are unaffected.
This issue has been fixed in v0.130.1. If you are using the Collector builder, please use the builder v0.130.1 to fix this issue.
🛑 Breaking changes 🛑
exporter/otlp
: Remove deprecated batcher config from OTLP, use queuebatch (#13339)
💡 Enhancements 💡
exporterhelper
: Enable items and bytes sizers for persistent queue (#12881)exporterhelper
: Refactor persistent storage size backup to always record it. (#12890)exporterhelper
: Add support to configure a different Sizer for the batcher than the queue (#13313)yaml
: Replacedsigs.k8s.io/yaml
withgo.yaml.in/yaml
for improved support and long-term maintainability. (#13308)
🧰 Bug fixes 🧰
-
exporterhelper
: Fix exporter.PersistRequestContext feature gate (#13342) -
exporterhelper
: Preserve all metrics metadata when batch splitting. (#13236)
Previously, when large batches of metrics were processed, the splitting logic inmetric_batch.go
could
cause thename
field of some metrics to disappear. This fix ensures that all metric fields are
properly preserved whenmetricRequest
objects are split. -
service
: Default internal metrics config now enablesotel_scope_
labels (#12939, #13344)
By default, the Collector exports its internal metrics using a Prometheus
exporter from the opentelemetry-go repository. With this change, the Collector
no longer sets "without_scope_info" to true in its configuration.This means that all exported metrics will have
otel_scope_name
,
otel_scope_schema_url
, andotel_scope_version
labels corresponding to the
instrumentation scope metadata for that metric.This notably prevents an error when multiple metrics are only distinguished
by their instrumentation scopes and end up aliased during export.If this is not desired behavior, a Prometheus exporter can be explicitly
configured with this option enabled.
API Changelog
🛑 Breaking changes 🛑
exporterhelper
: Use configoptional for sending_queue::batch field (#13345)configgrpc
: Update optional fields to useconfigoptional.Optional
field for optional values. (#13250, #13252)
Components usingconfiggrpc
package may need to update config values.confighttp
: Use configoptional.Optional in confighttp (#9478)exporterhelper
: Remove sizer map in favor of items/bytes sizers. Request based is automatically supported. (#13262)pdata/pprofile
: Remove field Profile.StartTime from pdata/pprofile (#13315)
Remove Profile.StartTime from OTel Profiling signal.exporterhelper
: Remove deprecated old batcher config (#13003)exporter/otlp
: Remove deprecated batcher config from OTLP, use queuebatch (#13339)
🚩 Deprecations 🚩
exporterhelper
: Deprecate NewRequestsSizer always supported. (#13262)xexporterhelper
: Introduce NewProfiles method and deprecate NewProfilesExporter (#13372)
💡 Enhancements 💡
-
consumererror
: AddError
type (#7047)
This type can contain information about errors that allow components (e.g. exporters)
to communicate error information back up the pipeline. -
pdata
: Document that changing pcommon.Map (Remove/removeIf/Put*) invalidates Value references obtained via Get. (#13073) -
cmd/mdatagen
: Add support for optional attribute (#12571) -
exporterhelper
: Add support to configure a different Sizer for the batcher than the queue (#13313) -
pdata
: Add support for the new resource-entity reference API as part of the experimental xpdata package. (#13264)