- Create a webhook link on discord (Channel settings > Integrations > Webhooks > Copy URL)
- Sign in and go the section "Alerts & AI" on New Relic
- Under "Enrich & Notify" select "Workflows" then click on "Add a workflow" button
- Give it a name, select Webhooks as notify channel and paste the template located below (workflows.hbs) as the "Payload template"
- Click on send test notification in order to verify that everything is good (also update the template if needed)
- Click on "Update message" and "Activate workflow"
- Create a webhook link on discord (Channel settings > Integrations > Webhooks > Copy URL)
- Sign in and go the section "Alerts & AI" on New Relic
- Under "Alerts (Classic)" select "Channels" then click on "New notification channel" button
- Select "Slack", give a name, paste the url and append at the end "/slack" like this:
Before
https://discord.com/api/webhooks/94****00/Erv****VfC
Afterhttps://discord.com/api/webhooks/94****00/Erv****VfC/slack
- Click on send test notification in order to verify that everything is good
- Save changes and you are good to go
- Create a webhook link on discord (Channel settings > Integrations > Webhooks > Copy URL)
- Sign in and go the section "Alerts & AI" on New Relic
- Under "Detect" select "Anomaly detection" then click on "Add a configuration" button
- Select what you need/want and click on Webhook
- Paste the template located below (proactive-detection.hbs) as the "Payload template"
- Click on send test notification in order to verify that everything is good (also update the template if needed)
- Click on "Save configuration" (if it's disabled, check that you have selected an application or a service)