[#38] grafana: Add GC dashboard

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
master
Dmitrii Stepanov 2023-08-06 13:44:37 +03:00
parent d8df46b4d1
commit b6f47cb2c2
1 changed files with 152 additions and 28 deletions

View File

@ -283,8 +283,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -384,8 +383,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -509,8 +507,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -643,7 +640,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 20
"y": 9
},
"id": 28,
"options": {
@ -744,7 +741,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 30
"y": 19
},
"id": 29,
"options": {
@ -827,8 +824,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -844,7 +840,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 40
"y": 29
},
"id": 30,
"options": {
@ -946,7 +942,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 50
"y": 39
},
"id": 31,
"options": {
@ -1063,7 +1059,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 10
"y": 11
},
"id": 59,
"options": {
@ -1163,7 +1159,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 20
"y": 21
},
"id": 60,
"options": {
@ -1266,7 +1262,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 30
"y": 31
},
"id": 61,
"options": {
@ -1369,7 +1365,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 40
"y": 41
},
"id": 62,
"options": {
@ -1472,7 +1468,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 50
"y": 51
},
"id": 63,
"options": {
@ -1574,7 +1570,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 60
"y": 61
},
"id": 64,
"options": {
@ -2803,8 +2799,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -2904,8 +2899,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -3004,8 +2998,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -3107,8 +3100,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -3225,8 +3217,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -5412,6 +5403,139 @@
],
"title": "Tree service",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 17
},
"id": 66,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Count of objects GC marked to remove, deleted or failed to delete from disk",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 18
},
"id": 65,
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "9.5.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": false,
"expr": "frostfs_node_garbage_collector_deleted_objects_total{instance=\"$instance\"}\n",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Shard {{shard_id}}, {{status}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": false,
"expr": "frostfs_node_garbage_collector_marked_for_removal_objects_total{instance=\"$instance\"}\n",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Shard {{shard_id}}, marked for remove, {{object_type}}",
"range": true,
"refId": "B"
}
],
"title": "Objects count",
"transformations": [],
"type": "timeseries"
}
],
"title": "GC",
"type": "row"
}
],
"refresh": "1m",