Azure.AI.AgentServer.Core_1.0.0-beta.22

Azure OpenAI .NET Releases / 4/19/2026

📰 NewsDeveloper Stack & InfrastructureModels & Research

Key Points

  • Azure.AI.AgentServer.Core 1.0.0-beta.22(2026-04-17)では、OTLPのみのテレメトリ経路でも外向きHTTPの計測(トレース/メトリクス)を有効化し、下流サービスまでの分散トレース相関を可能にします。
  • 受信HTTPリクエストを記録するミドルウェアが追加され、メソッド/パス/ステータス/所要時間/相関ヘッダー(x-request-id, x-ms-client-request-id)/OTelのTrace IDを出力します(成功はInformation、4xx/5xxはWarning)。
  • Tier 3向けに、inboundリクエストロギングを独立して有効化できる AddAgentServerLogging() / UseAgentServerLogging() などの拡張が追加されました。
  • 今バージョンでは複数のAPI名変更(UserAgentRegistry→VersionRegistry等)や、バージョンミドルウェアが受信ロギング登録を同梱しない変更、AgentHostTelemetryがinternal化されるなどのブレイキング変更があります。

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.