github Azure/azure-sdk-for-java com.azure+azure-ai-voicelive_1.0.0-beta.6

latest release: com.azure+azure-ai-contentunderstanding_1.1.0-beta.1
pre-release7 hours ago

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, and close operations 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_CONTENT environment variable (with legacy AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLED fallback)
  • Added GlobalTracingSample.java demonstrating 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-01 to 2026-01-01-preview

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.