# documentdb-monitoring

Sets up diagnostic settings, slow-query logs and CPU, memory and storage alerts for Azure DocumentDB clusters.

Skill by Microsoft. Category: Shipping and ops.

## Install

Project (for this project only):

```sh
npx skills add azure/documentdb-agent-kit --skill documentdb-monitoring
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx skills add azure/documentdb-agent-kit --skill documentdb-monitoring -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.

## Security audits

- Gen Agent Trust Hub: Pass
- Socket: Pass
- Snyk: Pass

Installs: 14. Installs counted by skills.sh. [Open on skills.sh](https://www.skills.sh/azure/documentdb-agent-kit/documentdb-monitoring)

## Source

[Open the source](https://github.com/azure/documentdb-agent-kit/tree/HEAD/skills/monitoring). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

## SKILL.md

````markdown
---
name: documentdb-monitoring
description: Monitoring and diagnostics best practices for Azure DocumentDB — enabling diagnostic settings and slow-query logs, analyzing them in Log Analytics, and alerting on CPU / memory / IOPS / storage / connection saturation per cluster tier. Use when setting up observability on a new cluster, investigating production incidents, or tuning alert thresholds.
license: MIT
---

# Monitoring & Diagnostics — Azure DocumentDB

## Rules

- [monitoring-slow-query-log](monitoring-slow-query-log.md) — Enable diagnostic settings and analyze slow-query logs in Log Analytics.
- [monitoring-metrics-alerts](monitoring-metrics-alerts.md) — Alert on CPU, memory, IOPS, storage, and connection saturation per cluster tier.
````

- Previous: [documentdb-mcp-setup](https://syn4pse.dev/terminal/documentdb-mcp-setup.md)
- Next: [documentdb-natural-language-querying](https://syn4pse.dev/terminal/documentdb-natural-language-querying.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
