OpenTelemetry.js v2.7.0 Update: Logs, Metrics, and Core Enhancements
Date: 2026-04-17
TL;DR
- New log creation metrics for better observability.
- Enhanced configuration for
PeriodicExportingMetricReaders. - Improved internal safety checks within the core library.
Key Changes
OpenTelemetry.js v2.7.0 brings several updates focusing on logging, metrics, and core stability. This release, following api/v1.9.1, introduces new capabilities and addresses existing issues.
Features:
- Log Creation Metrics (
sdk-logs): The SDK now implements metrics specifically for log creation. This provides insight into the volume and rate of logs being generated. - Metric Reader Enhancements (
sdk-metrics):PeriodicExportingMetricReadersnow support acardinalitySelectorargument. This allows for more granular control over how metrics are aggregated and exported. - Core Safety Checks (
opentelemetry-core): Additional internal checks have been added to the merge function, enhancing the overall stability and safety of the core library.
Bug Fixes:
- Resource Attributes (
opentelemetry-resources): An issue whereOTEL_RESOURCE_ATTRIBUTESwere discarded if they contained empty key-value pairs has been resolved.
For full details, refer to the official OpenTelemetry.js v2.7.0 release notes.
Impact for QA Teams
QA engineers can utilize the new log creation metrics to monitor logging behavior during tests, helping identify performance bottlenecks or unexpected log volumes. The enhanced metric reader configuration offers more precise control for validating telemetry data, while core safety improvements contribute to a more stable testing environment for OpenTelemetry integrations.
