How to Integrate Slack Notifications with Grafana for Real-Time Alerts
Go to Slack Create a new Channel
Skp to add people for now
Now clieck on Add App
Click on Add Directory on the upper side
Click On Build = it Allow you to create your app
Uper side clieck on your app
Create a New App
From Scratch
ENTER APP NAME AND DELECT YOUR WORKSPACE
Click on Incomming Webhook
Turn On
Add New Webhook Click on it
Select The channel where you want to notification
This is the webhook and Sample hose thiw you us webhook COPY WEBHOOK
Add This webhook on Grafana
Go to the grafana
Click on Contact Click point
Add Contact Point
Enter any name for alert
Integration select Slack and then in Webhook enter slack webhook -> Test It and check the message on slack group
Create a Alert on grafana
Click on alert rule
Select data source and then dashboard adn check in ss
Slack any prometheus from it and delete the reduce.
Probe_http_status_code
create new Group
View and Create Contact point and select slack contact point
Save Rule and alert on the top
Subscribe to my newsletter
Read articles from Sarthak Tyagi directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by