Catalog / OpenTelemetry Collector

0.153.0

v1.59.0/v0.153.0

4 months agobreakingaddedfixedOriginal notes

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.153.0

End User Changelog

🛑 Breaking changes 🛑

  • pkg/configoptional: Stabilize feature gate configoptional.AddEnabledField (#15333)
  • pkg/confmap: Stabilize confmap.newExpandedValueSanitizer feature gate (#15339)
  • pkg/exporterhelper: mark exporter.PersistRequestContext as stable (#15330)
  • pkg/otelcol: Stabilize otelcol.printInitialConfig gate (#15340)
  • pkg/pdata: Remove pdata.useCustomProtoEncoding feature gate (#15332)
  • pkg/service: Stabilize telemetry.UseLocalHostAsDefaultMetricsAddress gate (#15342)
  • pkg/xpdata: Stabilize pdata.enableRefCounting feature gate (#15331)

🧰 Bug fixes 🧰

  • pkg/config/configgrpc: Fix memory corruption and fatal error in Snappy (#15237, #15320)

API Changelog

🛑 Breaking changes 🛑

  • cmd/mdatagen: Enable reaggregation config generation by default; set reaggregation_enabled: false to keep generating metric config with only the enabled field. (#14689)

💡 Enhancements 💡

  • cmd/mdatagen: Enforce stricter feature_gates validation in metadata.yaml by default. (#15310) Strict validation can be skipped on a per-gate basis by setting skip_strict_validation: true on the gate entry.

  • cmd/mdatagen: Support generating config schema and Go config types for package metadata that defines reusable configs under $defs. (#15235)

  • cmd/mdatagen: Generate config documentation table and inject it into README.md between sentinel comments (#14564) When a component defines a config: section in its metadata.yaml, mdatagen now generates a Markdown configuration table and injects it into README.md between:

    The table lists every YAML-visible property (including fields from embedded structs), with type, default value, required status, and description. Nested objects generate sub-tables linked from the parent row. Components whose README lacks the sentinel markers are unaffected.

  • pkg/configoptional: Add methods allowing scalar unmarshaling (#15175)

  • pkg/scraperhelper: Switch scraperhelper.ControllerConfig to schema-based generated configuration and publish its reusable controller_config schema. (#15258)

  • pkg/xconfmap: Add ScalarMarshaler and ScalarUnmarshaler interfaces to allow custom marshaling and unmarshaling of wrapped scalar values. (#15175)

  • pkg/xextension/storage: Add Walker interface, WalkFunc type, and SkipAll error value to support iterating over storage key/value entries. (#15190, #15191) A storage Client may optionally implement the Walker interface to allow consumers to range through all stored entries. This enables use cases such as storage migrations and TTL-based garbage collection.