diff --git a/ansible/roles/grafana/files/dashboards/postgresql.json b/ansible/roles/grafana/files/dashboards/postgresql.json index b797499..8a561c7 100644 --- a/ansible/roles/grafana/files/dashboards/postgresql.json +++ b/ansible/roles/grafana/files/dashboards/postgresql.json @@ -501,56 +501,6 @@ "title": "Transactions Rate", "type": "timeseries" }, - { - "datasource": { - "type": "prometheus", - "uid": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "max": 200000000, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { "color": "green", "value": null }, - { "color": "yellow", "value": 150000000 }, - { "color": "red", "value": 180000000 } - ] - }, - "unit": "short" - } - }, - "gridPos": { "h": 6, "w": 12, "x": 0, "y": 20 }, - "id": 9, - "options": { - "minVizHeight": 75, - "minVizWidth": 75, - "orientation": "horizontal", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true, - "sizing": "auto" - }, - "targets": [ - { - "expr": "pg_database_xid_age_xid_age", - "legendFormat": "{{datname}}", - "refId": "A" - } - ], - "title": "Transaction ID Age (XID Exhaustion Risk)", - "description": "Age of oldest unfrozen XID. Approaches 2 billion = wraparound danger. Yellow at 150M, Red at 180M (autovacuum_freeze_max_age default is 200M).", - "type": "gauge" - }, { "datasource": { "type": "prometheus", @@ -640,5 +590,5 @@ "timezone": "browser", "title": "PostgreSQL", "uid": "postgresql", - "version": 3 + "version": 4 }