mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:58:30 +02: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:
|
- Instance:
|
||||||
https://github.com/cloudnative-pg/grafana-dashboards/blob/main/charts/cluster/grafana-dashboard.json
|
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
|
- 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";
|
receiver = "telegram";
|
||||||
# group alerts by labels
|
# group alerts by labels
|
||||||
group_by = [
|
group_by = [
|
||||||
"host"
|
|
||||||
"namespace"
|
|
||||||
"pod"
|
|
||||||
"job"
|
"job"
|
||||||
|
# --- Alert labels ---
|
||||||
|
"alertname"
|
||||||
|
"alertgroup"
|
||||||
|
# --- kubernetes labels ---
|
||||||
|
"namespace"
|
||||||
|
"service"
|
||||||
|
# --- custom labels ---
|
||||||
|
"cluster"
|
||||||
|
"env"
|
||||||
|
"type"
|
||||||
|
"host"
|
||||||
];
|
];
|
||||||
group_wait = "5m";
|
group_wait = "5m";
|
||||||
group_interval = "5m";
|
group_interval = "5m";
|
||||||
repeat_interval = "4h";
|
repeat_interval = "4h";
|
||||||
}
|
}
|
||||||
# {
|
# {
|
||||||
# # Route critical alerts to email (most severe alerts)
|
# # Route only prod env's critical alerts to email (most severe alerts)
|
||||||
# match = {
|
# match = {
|
||||||
# severity = "critical";
|
# severity = "critical";
|
||||||
|
# env = "prd";
|
||||||
# };
|
# };
|
||||||
# receiver = "email";
|
# receiver = "email";
|
||||||
# group_by = [
|
# group_by = [
|
||||||
|
|||||||
Reference in New Issue
Block a user