added missing files

This commit is contained in:
Arseni
2026-03-10 21:45:41 +03:00
parent 7ae4518926
commit 049b23516a
22 changed files with 221 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
route:
receiver: 'telegram'
group_by: ['alertname', 'instance']
group_wait: 30s
group_interval: 5m
repeat_interval: 3h
receivers:
- name: 'telegram'
telegram_configs:
- bot_token: '{{ with secret "kv/data/monitoring/telegram" }}{{ .Data.data.token }}{{ end }}'
chat_id: {{ with secret "kv/data/monitoring/telegram" }}{{ .Data.data.admin_chat_id }}{{ end }} # put your numeric chat id here, or also render from Vault if you want
message: |
🚨 *{{ "{{ .Status | toUpper }}" }}* — {{ "{{ .CommonLabels.alertname }}" }}
*Instance:* {{ "{{ .CommonLabels.instance }}" }}
*Summary:* {{ "{{ .CommonAnnotations.summary }}" }}
*Description:* {{ "{{ .CommonAnnotations.description }}" }}
parse_mode: 'Markdown'

View File

@@ -0,0 +1,4 @@
GF_SECURITY_ADMIN_USER="{{ with secret "kv/data/monitoring/grafana" }}{{ .Data.data.username }}{{ end }}"
GF_SECURITY_ADMIN_PASSWORD="{{ with secret "kv/data/monitoring/grafana" }}{{ .Data.data.password }}{{ end }}"
GF_AUTH_ANONYMOUS_ENABLED="false"
GF_USERS_ALLOW_SIGN_UP="false"