Monitor New Relic entity health and trigger rollback notifications via AWS SQS or HTTP webhooks when issues detected.
Requirements:
- New Relic entity monitoring
- (Optional) AWS SQS queue or HTTP webhook endpoint
What this workflow does:
- Monitor entity alert severity for specified duration (default 30 minutes)
- Check entity health every minute
- Log unhealthy status if entity becomes CRITICAL or WARNING
- Send AWS SQS rollback notifications (if configured) with entity details
- Send HTTP webhook rollback notifications (if configured)
- Log success if entity remains healthy for full duration
- Stop monitoring if entity not found
Key actions: newrelic.nerdgraph.execute, newrelic.ingest.sendLogs, aws.execute.api, (sqs.send_message), http.post
What's next
- EC2 management: Automate infrastructure changes
- API gateway rollback: API Gateway automation