[FEATURE REQ] Azure OpenAI uses non-standard server request-id header which is redacted by default #38728
Labels
Client
This issue points to a problem in the data-plane of the library.
OpenAI
Service Attention
Workflow: This issue is responsible by Azure service team.
Library name
Azure.AI.OpenAI
Please describe the feature.
Azure OpenAI returns
X-Request-ID
header which is redacted in the logs by default.The SDK should add
X-Request-ID
into the allowed header list by default.Server-side request Id does not appear on traces, which is captured here:
azure-sdk-for-net/sdk/core/Azure.Core/src/Pipeline/Internal/RequestActivityPolicy.cs
Line 121 in a208f5a
perhaps SDK needs to do something to populate custom header on
message.Response.Headers.RequestId
?The text was updated successfully, but these errors were encountered: