Manage Datadog monitors with pup: list, search, create from files, silence via downtime, and follow alerting best practices.
- What it does
- This skill provides instructions for managing Datadog monitors using the pup command-line tool. It covers listing and getting monitors, creating monitors from JSON files, and silencing alerts through downtime payloads. It also documents alerting best practices such as stable evaluation windows, proper scoping, recovery thresholds, and runbook links, plus a safe workflow that marks monitors for deletion instead of deleting them.
- When to use it
- Use it when you need to create, inspect, or maintain Datadog monitors and alerting rules. It is also useful for auditing monitors for missing owners or noisy alerts, and for silencing notifications during planned windows.
- Requirements
- Requires the pup CLI available in PATH and Datadog authentication via pup auth login. Network access to Datadog is needed. No scripts are shipped; the skill is instructions only.
Datadog Monitors
Create, manage, and maintain monitors for alerting.
Prerequisites
This requires pup in your path. See Setup Pup.
Command Execution Order (Token-Efficient)
For scoped commands, use this order:
- Check context first (prior outputs, conversation, saved values).
- If a required value is missing, run a discovery command first.
- If still ambiguous, ask the user to confirm.
- Then run the target command.
- Avoid speculative commands likely to fail.
Quick Start
Common Operations
List Monitors
Get Monitor
Create Monitor
Silence Alerts (Downtime)
Monitor Creation Best Practices
1. Avoid Alert Fatigue
2. Use Proper Scoping
3. Set Recovery Thresholds
4. Include Context in Messages
NEVER Delete Monitors Directly
Use safe deletion workflow (same as dashboards):
Monitor Types
Audit Monitors
Downtime vs Muting
Failure Handling
References