Prune NRQL Condition
A 3-step recipe with New Relic. We can help you get access.
Recipe · 3 steps
Prune NRQL Condition
with New Relic
Resolve a policy, find a NRQL condition, and delete it.
- Resolve the alert policy id by exact name.
- List the NRQL conditions attached to the resolved policy and capture a condition id to delete.
- Delete the identified NRQL condition so the policy stops evaluating the retired query.
What you'll need to have ready
- policyName: The exact name of the alert policy whose NRQL condition to prune.
For your developer
Arazzo workflow new-relic:prune-nrql-condition, 3 operations: getAlertsPolicies → getAlertsNrqlConditions → deleteAlertsNrqlConditionsConditionId. Specs on APIs.io.