Azure Cosmos Db

Availability BadgeResource Discovery Support Badge

You can declare to scrape Cosmos Db via the CosmosDb resource type.

The following fields need to be provided:

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: cosmos-database-1
- dbName: cosmos-database-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery)
- name: cosmos-db-landscape

← back to metrics declarations ← back to introduction