OpenTelemetry Collector v0.163.0 released with Profiles metadata updates
Key Takeaway
The release introduces development-version metadata for Profiles in OTLP receivers and exporters and improves batch processing efficiency.
Summary
OpenTelemetry has released version 0.163.0 of the OpenTelemetry Collector. This update focuses on implementing Profiles development-version metadata within OTLP receivers and exporters, improving the builder configuration for resource detection, and fixing several bugs related to exporter queue deadlocks and batch splitting.
Technical changes in v0.163.0
- Profiles metadata: OTLP receivers now reject malformed or unsupported versions, and exporters send the version associated with their compiled-in schema.
- Batch processing fixes: When splitting oversized batches, the collector now only drops the specific oversized profile or span instead of discarding the entire subsequent queue.
- Performance optimization: The mdatagen tool replaced an O(n) scan with an O(1) hash lookup to prevent O(n²) costs during scrapes with many data points.
- Exporter reliability: Fixed deadlocks in the sending queue when blocked offers are cancelled with
block_on_overflowenabled. - Builder enhancements: Added
dist.resource.detection.detectorsto the builder config to allow distributions to opt into specific resource detection sets via Go build tags.
Why it matters
These updates improve the stability of telemetry data pipelines, particularly regarding how large batches of profiles and spans are handled without losing subsequent data.
Original reference: github.com →