1.0.0-beta.6 (2026-05-01)
Features Added
- Added built-in OpenTelemetry tracing support for voice sessions following GenAI Semantic Conventions:
- Defaults to
GlobalOpenTelemetry.getOrNoop()for automatic Java agent detection with zero-cost no-op fallback - Emits spans for
connect,send,recv, andcloseoperations with Python-aligned VoiceLive telemetry semantics - Session-level counters: turn count, interruption count, audio bytes sent/received, first token latency, MCP call/list-tools counts
- Tracks response and item hierarchy IDs (
response_id,conversation_id,item_id,call_id,previous_item_id,output_index) on send/recv spans - Captures agent/session config attributes on connect spans (
gen_ai.agent.*,gen_ai.system_instructions,gen_ai.request.*) - Adds OpenTelemetry metrics (
gen_ai.client.operation.duration,gen_ai.client.token.usage) with provider/server/model dimensions - Content recording controlled via
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENTenvironment variable (with legacyAZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLEDfallback)
- Defaults to
- Added
GlobalTracingSample.javademonstrating OpenTelemetry integration
Bugs Fixed
- Fixed DNS resolution failures (
UnknownHostException) on networks with limited IPv6 support by switching the WebSocket client from Netty's async DNS resolver to the JDK's native DNS resolver (DefaultAddressResolverGroup). - Removed unnecessary
subscribeOn(Schedulers.boundedElastic())from event parsing pipeline to avoid per-event thread pool scheduling overhead.
Other Changes
- Changed default service API version from
2025-10-01to2026-01-01-preview