2022-07-21 22:54:05 +00:00
|
|
|
---
|
2023-03-24 18:24:36 +00:00
|
|
|
{{ with nomadVar "nomad/jobs/grafana" -}}
|
2022-07-21 22:54:05 +00:00
|
|
|
notifiers:
|
|
|
|
- name: Slack Bot
|
|
|
|
type: slack
|
|
|
|
uid: slack-1
|
|
|
|
org_id: 1
|
|
|
|
is_default: false
|
|
|
|
settings:
|
2023-03-24 18:24:36 +00:00
|
|
|
url: "{{ .slack_bot_url }}"
|
2022-07-21 22:54:05 +00:00
|
|
|
recipient: "#site-notifications"
|
|
|
|
username: Grafana Alerts
|
|
|
|
icon_url: https://grafana.iamthefij.com/public/img/grafana_icon.svg
|
2023-03-24 18:24:36 +00:00
|
|
|
token: "{{ .slack_bot_token }}"
|
2022-07-21 22:54:05 +00:00
|
|
|
uploadImage: true
|
|
|
|
mentionChannel: channel
|
|
|
|
- name: Slack Hook
|
|
|
|
type: slack
|
|
|
|
uid: slack-2
|
|
|
|
org_id: 1
|
|
|
|
is_default: true
|
|
|
|
settings:
|
2023-03-24 18:24:36 +00:00
|
|
|
url: "{{ .slack_hook_url }}"
|
2022-07-21 22:54:05 +00:00
|
|
|
icon_url: https://grafana.iamthefij.com/public/img/grafana_icon.svg
|
|
|
|
uploadImage: true
|
|
|
|
mentionChannel: channel
|
|
|
|
{{ end -}}
|