Setup basic alerting for watchers in monitoring stack #698

Merged
prathamesh0 merged 5 commits from pm-grafana-alerts into main 2024-01-08 11:55:30 +00:00
2 changed files with 25 additions and 0 deletions
Showing only changes of commit e0c3789f74 - Show all commits

View File

@ -0,0 +1,12 @@
apiVersion: 1
contactPoints:
- orgId: 1
name: SlackNotifier
receivers:
- uid: a71b06e3-58b6-41fe-af65-fbbb29653951
type: slack
settings:
# Slack hook URL
url: <YOUR_SLACK_HOOK_URL>
disableResolveMessage: false

View File

@ -0,0 +1,13 @@
apiVersion: 1
policies:
- orgId: 1
receiver: grafana-default-email
group_by:
- grafana_folder
- alertname
routes:
- receiver: SlackNotifier
object_matchers:
# Add matchers below
# - ['grafana_folder', '=', 'MyAlerts']