feat: add dashboards for victoriametrics

This commit is contained in:
Ryan Yin
2025-09-12 19:15:23 +08:00
parent f771ec76a0
commit e5b9a4917e
3 changed files with 6566 additions and 4 deletions

View File

@@ -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

View File

@@ -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 = [