Azure Cosmos Db -
You can declare to scrape Cosmos Db via the CosmosDb
resource type.
The following fields need to be provided:
dbName
- The name of the Cosmos Db to be scraped
All supported metrics are documented in the official Azure Monitor documentation.
Example:
name: azure_cosmos_db_total_requests
description: "Demo cosmos query"
resourceType: CosmosDb
azureMetricConfiguration:
metricName: TotalRequests
aggregation:
type: Count
resources:
- dbName: cognitiveanalytics-1
- dbName: cognitiveanalytics-2