Board Review: Add x-ms-app
header to Azure Monitor logs query requests
#4570
Labels
x-ms-app
header to Azure Monitor logs query requests
#4570
Contacts and Timeline
About the Service
About the client library
Artifacts required (per language)
API views are not applicable for this review.
Ask from the service team
The service team is requesting the client libraries to include
x-ms-app
header in all requests made to query logs.Azure/azure-sdk-for-net#27992
Azure/azure-sdk-for-python#23817
Azure/azure-sdk-for-js#21196
Azure/azure-sdk-for-java#28034
- We already have User-Agent header but it contains other details like platform and version information and requires parsing the string to know that it's an Azure SDK client.
Background
The Azure Monitor Query client library supports querying metrics and logs from Azure Monitor. Metrics requests go through ARM endpoint while Logs requests have a separate data-plane endpoint. The ask to include this new header is only for querying logs. This header is used by the service to track the caller.
User-Agent
header does include the client library details but that string changes between versions, platforms and languages. So, the service prefers to have a consistent value likeAzureMonitorQuerySDK
for all requests coming from Azure SDK.Thank you!
The text was updated successfully, but these errors were encountered: