capabilities.work

Cleanup Stale Monitors

A 2-step recipe with Datadog. We can help you get access.

Recipe · 2 steps

Cleanup Stale Monitors

with Datadog · Observability Management
Works with AI assistants

List monitors by tag then delete a matched stale one.

  1. List monitors filtered by name and tags to identify the stale monitor that should be retired.
  2. Permanently delete the first matched stale monitor, optionally forcing deletion when it is referenced by SLOs or composite monitors.
What you'll need to have ready
  • name: Filter monitors by name substring match.
  • tags: Comma-separated list of tags to filter monitors by (e.g. team:retired).
  • force: When set, forcefully deletes the monitor even if referenced by SLOs.
For your developer

Arazzo workflow datadog:cleanup-stale-monitors, 2 operations: listMonitors → deleteMonitor. Specs on APIs.io.