Provision Alerting Stack
A 4-step recipe with New Relic. We can help you get access.
Recipe · 4 steps
Provision Alerting Stack
with New Relic
Stand up policy, NRQL condition, and channel association together.
- Create the alert policy and capture its generated id.
- Attach a NRQL alert condition to the new policy.
- Create the notification channel that will receive policy notifications.
- Associate the channel with the policy so violations are routed to the new channel, completing the alerting stack.
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.
- channelName: The name of the new notification channel.
- channelType: The channel type (e.g. email, slack, webhook, pagerduty).
For your developer
Arazzo workflow new-relic:provision-alerting-stack, 4 operations: postAlertsPolicies → postAlertsNrqlConditionsPoliciesPolicyId → postAlertsChannels → putAlertsPolicyChannels. Specs on APIs.io.