You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while using azure-metrics-exporter for Cosmos DB where specific metrics work correctly when queried individually but fail to provide a response when queried together in a combined request. Below, I describe the steps I followed, the results I observed, and the problematic behavior.
Steps to Reproduce
Setup Environment:
Installed and configured azure-metrics-exporter.
Verified that the exporter is reachable at http://localhost:8080.
Queried Metrics Individually:
This approach worked for the following metrics:
AvailableStorage
DataUsage
DocumentCount
DocumentQuota
IndexUsage
MetadataRequests
NormalizedRUConsumption
PhysicalPartitionSizeInfo
ServerSideLatency
ServerSideLatencyGateway
ServiceAvailability
TotalRequests
TotalRequestsPreview
TotalRequestUnits
TotalRequestUnitsPreview
Combined Query:
When I attempted to query these metrics in a combined request, some metrics did not return any data.
Example Request:
curl -X GET "http://localhost:8080/probe/metrics/list?name=azure_metric&subscription=xxxx-xxxx-xxxx-xxxx&resourceType=Microsoft.DocumentDB/DatabaseAccounts&metric=AvailableStorage,DataUsage,DocumentCount,DocumentQuota,IndexUsage,MetadataRequests,NormalizedRUConsumption,PhysicalPartitionSizeInfo,ServerSideLatency,ServerSideLatencyGateway,ServiceAvailability,TotalRequests,TotalRequestsPreview,TotalRequestUnits,TotalRequestUnitsPreview&interval=PT1H×pan=PT1H&aggregation=average&metricTop=10&validateDimensions=true"### Result
Some metrics returned valid data, but others had no response or empty results.
No specific error message was provided.
Observations
Individual metric queries work consistently.
When combining metrics, some fail to provide a response without clear feedback.
The issue seems to occur when specific metrics are queried together.
Expected Behavior
Combined metric queries should work the same way as individual queries, returning data for all specified metrics.
Actual Behavior
Some metrics fail to return data in combined queries.
Request for Support
Could you help identify why combined metric queries fail for some metrics when querying Cosmos DB? If there are specific configurations or limitations regarding combined requests, it would be helpful to document them.
The text was updated successfully, but these errors were encountered:
Description
I encountered an issue while using azure-metrics-exporter for Cosmos DB where specific metrics work correctly when queried individually but fail to provide a response when queried together in a combined request. Below, I describe the steps I followed, the results I observed, and the problematic behavior.
Steps to Reproduce
Setup Environment:
http://localhost:8080
.Queried Metrics Individually:
This approach worked for the following metrics:
AvailableStorage
DataUsage
DocumentCount
DocumentQuota
IndexUsage
MetadataRequests
NormalizedRUConsumption
PhysicalPartitionSizeInfo
ServerSideLatency
ServerSideLatencyGateway
ServiceAvailability
TotalRequests
TotalRequestsPreview
TotalRequestUnits
TotalRequestUnitsPreview
Combined Query:
When I attempted to query these metrics in a combined request, some metrics did not return any data.
Example Request:
Observations
Expected Behavior
Actual Behavior
Request for Support
Could you help identify why combined metric queries fail for some metrics when querying Cosmos DB? If there are specific configurations or limitations regarding combined requests, it would be helpful to document them.
The text was updated successfully, but these errors were encountered: