github Azure/azure-sdk-for-net Azure.AI.AgentServer.Core_1.0.0-beta.22

1.0.0-beta.22 (2026-04-17)

Features Added

  • Added HttpClient instrumentation (AddHttpClientInstrumentation) for both tracing and metrics
    in the OTLP-only telemetry path. This exports outbound HTTP client spans, enabling end-to-end
    distributed trace correlation through Foundry storage and other downstream services.
  • Added inbound request logging middleware that logs all incoming HTTP requests with method, path,
    status code, duration, correlation headers (x-request-id, x-ms-client-request-id), and
    OpenTelemetry trace ID. Successful requests log at Information level; 4xx/5xx responses log at
    Warning level. Request start is logged at Information level.
  • Added AddAgentServerLogging() and UseAgentServerLogging() extensions for Tier 3 setups to
    independently enable the inbound request logging middleware.
  • Added startup configuration logging: platform environment, connectivity, host options, and
    registered protocols are logged at Information level when the host starts.

Breaking Changes

  • Renamed ServerUserAgentRegistry to ServerVersionRegistry.
  • Renamed AgentHostBuilder.UserAgentRegistry property to VersionRegistry.
  • Renamed AddAgentServerUserAgent() to AddAgentServerVersion() and
    UseAgentServerUserAgent() to UseAgentServerVersion(). The version middleware
    no longer bundles the inbound request logging registration — use the new
    AddAgentServerLogging() / UseAgentServerLogging() pair separately.
  • Made AgentHostTelemetry internal. The telemetry source and meter name constants
    are implementation details; use the string values directly if needed for OTel filtering.

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

NewReleases is sending notifications on new releases.