OpenTelemetry
v0.159.0ObservabilityAug 17, 2026
A release with an exporter queue batching feature gate, revised exporter and scraper metric behavior, and breaking public API field-shape changes. No security advisories or security fixes are disclosed.
Check if affected (2)
breakingThe
confighttp.field shapeServerConfig Applies if you configure
extension/zpages.In
extension/zpages,confighttp.is now a named field ofServerConfig Configrather than an embedded field.breakingThe
configauth.field shapeConfig Applies if you use authentication configuration in
pkg/confighttp.In
pkg/confighttp,configauth.is now a named field ofConfig AuthConfigrather than an embedded field.
All 6 other recorded changesvalue changes 4 · additions 2
value changes (4)
- Previously the batch send size histograms were recorded at enqueue time (
Offer), so they measured incoming request sizes rather than the post-batching request handed to the downstream sender. Those histograms are now recorded in the obs report sender. - -
pkg/scraperhelper: Use{record}instead of{datapoint}as the unit of the log record and profile record scraper metrics (#15730) Affectsotelcol_scraper_scraped_log_records,otelcol_scraper_errored_log_records,otelcol_scraper_scraped_profile_recordsandotelcol_scraper_errored_profile_records. - -
pkg/config/configretry: MigrateBackOffConfigto schema-based configuration generated by mdatagen. (#15502) - -
pkg/config/configtls: MigrateTLScore types to schema-based configuration generated by mdatagen. (#15693)
additions (2)
- -
pkg/exporterhelper: Add thepkg.feature gate (#14038, #13582, #12022) When enabled, the batch settings returned byexporterhelper. queueBatchEnabled NewDefaultQueueConfig()havebatch::enabledtrue. See [migration RFC](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/batching-migration.md#phase-1). - The previous enqueue-time measurements are preserved under the new
otelcol_exporter_enqueue_sizeandotelcol_exporter_enqueue_size_bytesmetrics for queue sizing.
Add OpenTelemetry to your stack
A weekly email arrives when a release needs action. Like the breaking changes in this release.