Create NRQL Alert Policy
A 2-step recipe with New Relic. We can help you get access.
Recipe · 2 steps
Create NRQL Alert Policy
with New Relic
Create a policy then attach a NRQL alert condition to it.
- Create the alert policy that will own the NRQL condition, returning the generated policy id.
- Create a NRQL alert condition on the new policy so a custom query begins evaluating against the configured terms.
What you'll need to have ready
- policyName: The name of the new alert policy.
- incidentPreference: Incident rollup strategy (PER_POLICY, PER_CONDITION, PER_CONDITION_AND_TARGET).
- conditionName: A title for the NRQL alert condition.
- runbookUrl: Runbook URL to display in notifications.
- valueFunction: The value function applied to the NRQL result (e.g. single_value, sum).
For your developer
Arazzo workflow new-relic:create-nrql-alert-policy, 2 operations: postAlertsPolicies → postAlertsNrqlConditionsPoliciesPolicyId. Specs on APIs.io.