Feat metrics (#2429)

* feat: register and alert

* feat: grafana
This commit is contained in:
icey-yu
2024-07-19 16:08:39 +08:00
committed by GitHub
parent d945a07549
commit 6c8ac45137
6 changed files with 5403 additions and 1 deletions
+10 -1
View File
@@ -11,11 +11,20 @@ templates:
- /etc/alertmanager/email.tmpl
route:
group_by: ['alertname']
group_by: [ 'alertname' ]
group_wait: 5s
group_interval: 5s
repeat_interval: 5m
receiver: email
routes:
- matchers:
- alertname = "XXX"
group_by: [ 'instance' ]
group_wait: 5s
group_interval: 5s
repeat_interval: 5m
receiver: email
receivers:
- name: email
email_configs: