AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Datadog Monitors

skill-cogni-ai-ou-cogni-ai-agent-skills-datadog-monitors · by Cogni-AI-OU

Guidelines for designing, debugging, and troubleshooting Datadog monitor queries, handling common false positives, and operational edge cases.

No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add skill-cogni-ai-ou-cogni-ai-agent-skills-datadog-monitors

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-cogni-ai-ou-cogni-ai-agent-skills-datadog-monitors)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Datadog Monitors? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Datadog Monitors

Use this skill to design, debug, and troubleshoot Datadog monitor evaluation logic, query semantics, and alert state management.

When to Use

  • When writing Pulumi, Terraform, or API payloads to create or update Datadog monitors.
  • To debug Datadog alerts that are stuck in a "ghost" or frozen state.
  • When reducing noise and false positives in infrastructure and application monitoring.

When Not to Use

  • For installing the actual Datadog Agent on a host (use datadog-agent instead).
  • When querying raw log or trace telemetry directly (use datadog-api or datadog-mcp instead).
  • If the user simply wants a link to the Datadog UI without altering query definitions.

Common Pitfalls

  • Missing Evaluation Timeouts: Forgetting to set a timeoutH on multidimensional alerts, resulting in "ghost alerts" when a pod or host terminates unexpectedly.
  • Ignoring Loop Devices: Failing to exclude device_name:loop* in disk monitors, causing a flood of false alerts for 100% full SquashFS mounts.
  • Scope Creep: Grouping a monitor by too many high-cardinality tags, causing massive evaluation lag and delayed alerting.

Common Query Issues & Operational Fixes

1. Frozen Multidimensional Alerts (Ghost Alerts)

Problem: Monitors grouping by transient dimensions (e.g., workloads, short-lived hosts, or distinct network domains) remain stuck in an Alert state forever after the underlying entity disappears or stops sending metrics.

Why: Datadog does not auto-resolve an alert group if no new data arrives to bring the metric back below the threshold.

Solution: Enable automatic resolution after a period of missing data using the timeout parameter (in Pulumi: timeoutH) to instruct the engine to drop the alert. Example: timeoutH: 1 auto-resolves if no data is seen for 1 hour.

2. Disk Usage / Forecast False Positives

Problem: Disk monitors trigger on system mounts that are intended to be 100% full, leading to significant alerting noise.

Why: Linux loop devices (used by snap packages) are read-only SquashFS mounts and inherently have no free space. Temporary mount points like tmpfs can also occasionally falsely trigger forecast horizons.

Solution: Filter these devices out directly in the monitor query tag scope. Example: avg:system.disk.in_use{!device_name:loop*,!device_name:tmpfs} by {host,device_name}

3. Missing NPM / Specialized Event Permissions

Problem: When investigating Network Performance Monitoring (NPM) or specialized Formula/Event-based monitors via scripts or MCP, the Datadog API returns Unauthorized or empty datasets.

Solution: Application Keys need explicitly elevated scopes for these datasets. Cloud Network Monitoring requires scopes like network_connections_read and network_health_insights_read, while broader query evaluation relies on timeseries_query and events_read.

Core Principles

  • Always filter out known system noise explicitly in the query scope to prevent evaluation bloat.
  • Understand the difference between on_missing_data: default (what to do during normal evaluation) and explicit timeframe timeouts (what to do when an alerting entity vanishes).
  • When a monitor seems "stuck," inspect the specific tag groupings using the UI or the API (group_states=all) to understand exactly what tags are frozen.

Related Skills

  • datadog-pulumi: For mapping these monitor definition principles to Pulumi YAML.
  • datadog-api: For raw API state extraction (e.g., checking group states directly to find ghost tags).
  • datadog-mcp: For using Model Context Protocol to query underlying telemetry and build queries.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.