From 377efeb22c917d3cf23abdfbc11a77d984c06520 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Thu, 29 Jan 2026 07:05:44 -0800 Subject: [PATCH] Fix XID Age graph to show threshold context - Add fixed Y-axis (0-220M) so the autovacuum threshold is always visible - Add dashed threshold lines at 150M (yellow) and 200M (red) - Update title to mention the 200M threshold The raw XID age will always trend upward between vacuum freezes, which looked alarming without context. Now the graph shows how far the value is from the autovacuum_freeze_max_age threshold. Co-Authored-By: Claude Opus 4.5 --- .../dashboards/configmap-postgresql.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/argocd/manifests/grafana-config/dashboards/configmap-postgresql.yaml b/argocd/manifests/grafana-config/dashboards/configmap-postgresql.yaml index 39d05f2..5c66828 100644 --- a/argocd/manifests/grafana-config/dashboards/configmap-postgresql.yaml +++ b/argocd/manifests/grafana-config/dashboards/configmap-postgresql.yaml @@ -534,13 +534,19 @@ data: "mode": "none" }, "thresholdsStyle": { - "mode": "off" + "mode": "dashed" } }, "mappings": [], + "max": 220000000, + "min": 0, "thresholds": { "mode": "absolute", - "steps": [{ "color": "green", "value": null }] + "steps": [ + { "color": "green", "value": null }, + { "color": "yellow", "value": 150000000 }, + { "color": "red", "value": 200000000 } + ] }, "unit": "short" } @@ -566,7 +572,7 @@ data: "refId": "A" } ], - "title": "XID Age Over Time", + "title": "Tesla XID Age (autovacuum threshold: 200M)", "type": "timeseries" } ],