1.0.0-beta.48 (2026-12-01)
Features Added
- Added opt-in multi-endpoint routing for logs, traces, and metrics, with a 64-route cache and sequential temporary senders for overflow destinations. #40586
- Added reason codes and affected-item counts to multi-endpoint routing diagnostics for invalid destinations, export and retry storage failures, expired batches, and capacity limits. Diagnostics omit destination values and telemetry contents. #40897
Breaking Changes
- Updated to OpenTelemetry SDK 3.x and the matching 0.300.x instrumentation packages. Tracing now uses
@opentelemetry/sdk-trace, and the logs API comes from@opentelemetry/api1.10.0 instead of@opentelemetry/api-logs. See the OpenTelemetry migration guide. #40536 - Raised the minimum supported Node.js version to 22.15.0 to match OpenTelemetry SDK 3.x requirements. #40536
Bugs Fixed
- Fixed
ItemCounton log envelopes to reflect the sampling percentage supplied by the trace-based log processor. #40803 - Restricted offline retry directory permissions on Windows and POSIX before writing or replaying buffered telemetry. #40875
- Isolated the Microsoft Entra audience for multi-endpoint exports from the host connection string. Set
APPLICATIONINSIGHTS_MULTI_ENDPOINT_AAD_AUDIENCEto override the public cloud default for routed telemetry. #40846 - Bounded routed requests and shutdown so a stalled destination cannot indefinitely block queued overflow destinations. Timed-out telemetry remains eligible for offline retry when storage is available. #40831
- Closed exporter-owned connections after each temporary overflow routing request, while preserving connection reuse for cached routes and caller-owned transports. #40586
- Preserved compatible sampler attribute value types for OpenTelemetry 2.x consumers while including the numeric sample-rate attribute in the return type. #40536