Use Dimensions with CosmosDB provider #1084
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
That should normally work, what do the logs/scrape results say? Can you share those please? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply @tomkerkhove!
I am expecting to get one line per database, something like:
And so on. |
Beta Was this translation helpful? Give feedback.
Thanks for the quick reply @tomkerkhove!
Here are the scrape results:
azure_cosmosdb_data_usage_total{resource_group="<RESOURCE_GROUP>",subscription_id="<SUBSCRIPTION_ID>",resource_uri="subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.DocumentDB/databaseAccounts/<INSTANCE_NAME>",instance_name="INSTANCE_NAME"} 296747008 1591772925732
I am expecting to get one line per database, something like:
azure_cosmosdb_data_usage_total{resource_group="<RESOURCE_GROUP>",subscription_id="<SUBSCRIPTION_ID>",resource_uri="subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>/providers/Microsoft.DocumentDB/databaseAccounts/<INSTANCE_NAME>",instance_name="INSTAN…