mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 07:24:10 +01:00
feat: add dashboards for victoriametrics
This commit is contained in:
@@ -32,3 +32,7 @@ mixin provides a comprehensive package for monitoring Loki in production.
|
||||
- Instance:
|
||||
https://github.com/cloudnative-pg/grafana-dashboards/blob/main/charts/cluster/grafana-dashboard.json
|
||||
- Pooler(PGBouncer): https://github.com/cloudnative-pg/grafana-dashboards/issues/7
|
||||
|
||||
## VictoriaMetrics
|
||||
|
||||
- https://grafana.com/orgs/victoriametrics/dashboards
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -45,19 +45,28 @@
|
||||
receiver = "telegram";
|
||||
# group alerts by labels
|
||||
group_by = [
|
||||
"host"
|
||||
"namespace"
|
||||
"pod"
|
||||
"job"
|
||||
# --- Alert labels ---
|
||||
"alertname"
|
||||
"alertgroup"
|
||||
# --- kubernetes labels ---
|
||||
"namespace"
|
||||
"service"
|
||||
# --- custom labels ---
|
||||
"cluster"
|
||||
"env"
|
||||
"type"
|
||||
"host"
|
||||
];
|
||||
group_wait = "5m";
|
||||
group_interval = "5m";
|
||||
repeat_interval = "4h";
|
||||
}
|
||||
# {
|
||||
# # Route critical alerts to email (most severe alerts)
|
||||
# # Route only prod env's critical alerts to email (most severe alerts)
|
||||
# match = {
|
||||
# severity = "critical";
|
||||
# env = "prd";
|
||||
# };
|
||||
# receiver = "email";
|
||||
# group_by = [
|
||||
|
||||
Reference in New Issue
Block a user