[#38] grafana: Add epoch dashboard

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-08-03 15:57:07 +03:00
parent 74d43f48f2
commit 201855e729

View file

@ -32,7 +32,7 @@
}, },
"id": 22, "id": 22,
"panels": [], "panels": [],
"title": "Health", "title": "General",
"type": "row" "type": "row"
}, },
{ {
@ -121,7 +121,7 @@
}, },
"gridPos": { "gridPos": {
"h": 6, "h": 6,
"w": 24, "w": 12,
"x": 0, "x": 0,
"y": 1 "y": 1
}, },
@ -160,6 +160,72 @@
"transformations": [], "transformations": [],
"type": "timeseries" "type": "timeseries"
}, },
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Current epoch on the instance",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "fixed"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 1
},
"id": 32,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.5.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "frostfs_node_ir_epoch{job=\"node\", instance=\"$instance\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Epoch",
"type": "gauge"
},
{ {
"collapsed": false, "collapsed": false,
"gridPos": { "gridPos": {
@ -577,7 +643,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 32 "y": 40
}, },
"id": 8, "id": 8,
"options": { "options": {
@ -677,7 +743,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 42 "y": 50
}, },
"id": 9, "id": 9,
"options": { "options": {
@ -776,7 +842,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 52 "y": 60
}, },
"id": 10, "id": 10,
"options": { "options": {
@ -875,7 +941,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 62 "y": 70
}, },
"id": 7, "id": 7,
"options": { "options": {
@ -1008,7 +1074,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 72 "y": 80
}, },
"id": 11, "id": 11,
"options": { "options": {
@ -1125,7 +1191,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 40 "y": 48
}, },
"id": 13, "id": 13,
"options": { "options": {
@ -1226,7 +1292,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 50 "y": 58
}, },
"id": 15, "id": 15,
"options": { "options": {
@ -1326,7 +1392,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 60 "y": 68
}, },
"id": 14, "id": 14,
"options": { "options": {
@ -1426,7 +1492,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 70 "y": 78
}, },
"id": 16, "id": 16,
"options": { "options": {
@ -1526,7 +1592,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 80 "y": 88
}, },
"id": 17, "id": 17,
"options": { "options": {
@ -1626,7 +1692,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 90 "y": 98
}, },
"id": 18, "id": 18,
"options": { "options": {
@ -1728,7 +1794,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 100 "y": 108
}, },
"id": 19, "id": 19,
"options": { "options": {
@ -1842,7 +1908,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 75 "y": 83
}, },
"id": 24, "id": 24,
"options": { "options": {
@ -1942,7 +2008,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 85 "y": 93
}, },
"id": 25, "id": 25,
"options": { "options": {
@ -2042,7 +2108,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 95 "y": 103
}, },
"id": 26, "id": 26,
"options": { "options": {
@ -2159,7 +2225,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 112 "y": 120
}, },
"id": 28, "id": 28,
"options": { "options": {
@ -2260,7 +2326,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 122 "y": 130
}, },
"id": 29, "id": 29,
"options": { "options": {
@ -2360,7 +2426,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 132 "y": 140
}, },
"id": 30, "id": 30,
"options": { "options": {
@ -2463,7 +2529,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 142 "y": 150
}, },
"id": 31, "id": 31,
"options": { "options": {