Datadog: Get a Monitor's Details

Datadog

📘

Availability

This workflow action is available on our Business and Enterprise for Incident Management pricing plans. Please contact our Sales Team to upgrade to an account with this action.

Description

Get the overall status of a monitor, e.g. "Alert", "Ignored", "No Data", "OK", "Skipped", "Unknown" or "Warn."

Instructions

  1. If you have not done so already, please follow our instructions to Create an Incident Workflow.
  2. When you are prompted to add actions , select this action.
  3. Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.

Inputs

📘

Field References

Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter {{, and select relevant fields. Please see our Field References article for more information.

NameDescription
IntegrationSelect a Workflow Integration or click New Datadog Connection to establish a new one.
Monitor IDEnter the ID of the monitor. This will be the number at the end of the monitor URL, e.g., https://app.datadoghq.com/monitors/<Monitor ID>.

Outputs

NameDescription
Monitor DetailsThe details of the monitor.
Monitor NameThe name of the monitor.
Monitor StateThe overall state of the monitor. Can be "Alert", "Ignored", "No Data", "OK", "Skipped", "Unknown" or "Warn."
Monitor QueryThe query used to define the monitor. Can be used to fetch a graph snapshot of the monitor state.
ResultValue that shows if the action was successful or not. Either "Success" or "Failed."
Result SummaryBrief description of what the action did or if it failed.
ErrorBrief description that is populated if the action failed.