capabilities.work

Create Synthetics Alert Condition

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

Recipe · 2 steps

Create Synthetics Alert Condition

Resolve a policy then attach a Synthetics monitor condition.

  1. Resolve the alert policy by exact name and capture the policy id used to scope the Synthetics condition.
  2. Create a Synthetics condition on the resolved policy that fires when the named monitor fails.
What you'll need to have ready
  • policyName: The exact name of the alert policy to attach the condition to.
  • conditionName: A title for the Synthetics alert condition.
  • monitorId: The id of the Synthetics monitor the condition watches.
  • runbookUrl: Runbook URL to display in notifications.
For your developer

Arazzo workflow new-relic:create-synthetics-alert-condition, 2 operations: getAlertsPolicies → postAlertsSyntheticsConditionsPoliciesPolicyId. Specs on APIs.io.