-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
000a955
commit f66d9ee
Showing
2 changed files
with
367 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
366 changes: 366 additions & 0 deletions
366
argo/cluster/monitoring/kube-prometheus-stack/chart/dashboards/overview.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,366 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "grafana", | ||
"uid": "-- Grafana --" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 0, | ||
"id": 48, | ||
"links": [], | ||
"liveNow": false, | ||
"panels": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 1 | ||
} | ||
] | ||
}, | ||
"unitScale": true | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 5, | ||
"w": 2, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 1, | ||
"options": { | ||
"colorMode": "value", | ||
"graphMode": "area", | ||
"justifyMode": "auto", | ||
"orientation": "auto", | ||
"reduceOptions": { | ||
"calcs": [ | ||
"lastNotNull" | ||
], | ||
"fields": "", | ||
"values": false | ||
}, | ||
"showPercentChange": false, | ||
"textMode": "auto", | ||
"wideLayout": true | ||
}, | ||
"pluginVersion": "10.3.3", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "builder", | ||
"expr": "max(ALERTS{severity!=\"none\"}) or vector(0)", | ||
"fullMetaSearch": false, | ||
"includeNullMetadata": true, | ||
"instant": false, | ||
"legendFormat": "__auto", | ||
"range": true, | ||
"refId": "A", | ||
"useBackend": false | ||
} | ||
], | ||
"title": "Active Alerts", | ||
"type": "stat" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"decimals": 2, | ||
"mappings": [], | ||
"noValue": "?", | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "red", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 99.98 | ||
}, | ||
{ | ||
"color": "#EAB839", | ||
"value": 99.99 | ||
}, | ||
{ | ||
"color": "green", | ||
"value": 100 | ||
} | ||
] | ||
}, | ||
"unit": "percent", | ||
"unitScale": true | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 5, | ||
"w": 2, | ||
"x": 2, | ||
"y": 0 | ||
}, | ||
"id": 2, | ||
"options": { | ||
"colorMode": "value", | ||
"graphMode": "area", | ||
"justifyMode": "auto", | ||
"orientation": "auto", | ||
"reduceOptions": { | ||
"calcs": [ | ||
"mean" | ||
], | ||
"fields": "", | ||
"values": false | ||
}, | ||
"showPercentChange": false, | ||
"textMode": "auto", | ||
"wideLayout": true | ||
}, | ||
"pluginVersion": "10.3.3", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "builder", | ||
"expr": "avg(rate(srep_requests_total{code=~\"2..|4..|3..\"}[$__rate_interval]))", | ||
"fullMetaSearch": false, | ||
"hide": true, | ||
"includeNullMetadata": true, | ||
"instant": false, | ||
"legendFormat": "__auto", | ||
"range": true, | ||
"refId": "A", | ||
"useBackend": false | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "code", | ||
"expr": "avg(rate(srep_requests_total{code=~\"5..\"}[$__rate_interval])) or vector(0)", | ||
"fullMetaSearch": false, | ||
"hide": true, | ||
"includeNullMetadata": true, | ||
"instant": false, | ||
"legendFormat": "__auto", | ||
"range": true, | ||
"refId": "B", | ||
"useBackend": false | ||
}, | ||
{ | ||
"datasource": { | ||
"name": "Expression", | ||
"type": "__expr__", | ||
"uid": "__expr__" | ||
}, | ||
"expression": "($A / ($A + $B)) * 100", | ||
"hide": false, | ||
"refId": "C", | ||
"type": "math" | ||
} | ||
], | ||
"title": "API Error Rate", | ||
"type": "stat" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "palette-classic" | ||
}, | ||
"custom": { | ||
"hideFrom": { | ||
"legend": false, | ||
"tooltip": false, | ||
"viz": false | ||
} | ||
}, | ||
"mappings": [], | ||
"unitScale": true | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 5, | ||
"w": 2, | ||
"x": 4, | ||
"y": 0 | ||
}, | ||
"id": 3, | ||
"options": { | ||
"legend": { | ||
"displayMode": "table", | ||
"placement": "right", | ||
"showLegend": true | ||
}, | ||
"pieType": "pie", | ||
"reduceOptions": { | ||
"calcs": [ | ||
"lastNotNull" | ||
], | ||
"fields": "", | ||
"values": false | ||
}, | ||
"tooltip": { | ||
"mode": "single", | ||
"sort": "none" | ||
} | ||
}, | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "builder", | ||
"expr": "sum by(sync_status) (argocd_app_info)", | ||
"fullMetaSearch": false, | ||
"includeNullMetadata": true, | ||
"instant": false, | ||
"legendFormat": "__auto", | ||
"range": true, | ||
"refId": "A", | ||
"useBackend": false | ||
} | ||
], | ||
"title": "ArgoCD Sync", | ||
"type": "piechart" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "palette-classic" | ||
}, | ||
"custom": { | ||
"hideFrom": { | ||
"legend": false, | ||
"tooltip": false, | ||
"viz": false | ||
} | ||
}, | ||
"mappings": [], | ||
"unitScale": true | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 5, | ||
"w": 2, | ||
"x": 6, | ||
"y": 0 | ||
}, | ||
"id": 4, | ||
"options": { | ||
"legend": { | ||
"displayMode": "table", | ||
"placement": "right", | ||
"showLegend": true | ||
}, | ||
"pieType": "pie", | ||
"reduceOptions": { | ||
"calcs": [ | ||
"lastNotNull" | ||
], | ||
"fields": "", | ||
"values": false | ||
}, | ||
"tooltip": { | ||
"mode": "single", | ||
"sort": "none" | ||
} | ||
}, | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "prometheus" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "builder", | ||
"expr": "sum by(health_status) (argocd_app_info)", | ||
"fullMetaSearch": false, | ||
"includeNullMetadata": true, | ||
"instant": false, | ||
"legendFormat": "__auto", | ||
"range": true, | ||
"refId": "A", | ||
"useBackend": false | ||
} | ||
], | ||
"title": "ArgoCD Health", | ||
"type": "piechart" | ||
} | ||
], | ||
"refresh": "", | ||
"schemaVersion": 39, | ||
"tags": [], | ||
"templating": { | ||
"list": [] | ||
}, | ||
"time": { | ||
"from": "now-15m", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "Overview", | ||
"uid": "bd763df4-e122-4350-9442-488cff1b082e", | ||
"version": 2, | ||
"weekStart": "" | ||
} |