OpenTelemetry
v0.157.0ObservabilityOpenTelemetry Collector v0.157.0 is a mixed release introducing two breaking metric histogram changes affecting batch send-size dashboards and alerts, an API function removal, and a deprecation, alongside several fixes and enhancements including schema bootstrap, partial reload capabilities, and resource detection.
breakingBatch send-size histogram bucket boundaries changed
Histogram buckets for `otelcol_exporter_queue_batch_send_size_bytes` and `otelcol_processor_batch_batch_send_size_bytes` are replaced with a power-of-2 byte scale spanning 128 B to 16 MiB. Dashboards or alerts that hard-code specific bucket boundaries (le values) for these metrics will require updates to match the new bucket set.
breakingBalancerName function removed
The `BalancerName` API function has been removed. Use the `DefaultBalancerName` constant instead. This applies to code that calls the removed function.
breakingWithForceUnmarshaler configuration option deprecated
The `WithForceUnmarshaler` option in `pkg/xconfmap` has been deprecated in v0.157.0. Use `confmap.WithForceUnmarshaler` instead.
Key changes (5)
- Breaking: batch send-size histogram buckets replaced with power-of-2 scale (128 B to 16 MiB); dashboards and alerts using fixed bucket boundaries require updates
- Breaking: BalancerName API function removed; replace with DefaultBalancerName constant
- Breaking: WithForceUnmarshaler deprecated in pkg/xconfmap; use confmap.WithForceUnmarshaler instead
- Bug fixes: debug exporter scope index printing, gRPC WaitForReady option now applied, feature-gate empty-element panic, resource detector slice-valued attribute panic
- Enhancements: config.schema.yaml bootstrap for core components, service telemetry resource detection, partial config reload feature gates (Alpha/Beta)