capabilities.work

Tune Monitor Thresholds

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

Recipe · 2 steps

Tune Monitor Thresholds

with Datadog · Observability Management
Works with AI assistants

Read a monitor and then update its options and thresholds.

  1. Read the monitor by ID to capture its current query and name before retuning its thresholds.
  2. Update the monitor with new option thresholds and renotify behavior to retune when and how often it alerts.
What you'll need to have ready
  • monitorId: The unique numeric ID of the monitor to tune.
  • query: The monitor query expression to apply on update.
  • name: The descriptive name for the monitor.
  • message: The notification message body sent when the monitor triggers.
  • critical: The threshold value that triggers a CRITICAL alert.
  • critical_recovery: The threshold value at which a CRITICAL alert recovers to OK.
  • warning: The threshold value that triggers a WARNING alert.
  • warning_recovery: The threshold value at which a WARNING alert recovers to OK.
  • renotify_interval: Minutes between re-notifications while the monitor stays in alert.
For your developer

Arazzo workflow datadog:tune-monitor-thresholds, 2 operations: getMonitor → updateMonitor. Specs on APIs.io.