[#38] grafana: Add replicator dashbords

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-08-03 15:31:19 +03:00
parent d5ee290740
commit d76cc2e48a

View file

@ -22,6 +22,19 @@
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 22,
"panels": [],
"title": "Health",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
@ -110,7 +123,7 @@
"h": 6,
"w": 24,
"x": 0,
"y": 0
"y": 1
},
"id": 21,
"options": {
@ -148,15 +161,18 @@
"type": "timeseries"
},
{
"collapsed": true,
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 6
"y": 7
},
"id": 2,
"panels": [
"panels": [],
"title": "Server",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
@ -223,7 +239,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 7
"y": 8
},
"id": 1,
"options": {
@ -349,7 +365,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 17
"y": 18
},
"id": 3,
"options": {
@ -449,7 +465,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 27
"y": 28
},
"id": 4,
"options": {
@ -485,10 +501,6 @@
"title": "Latency",
"transformations": [],
"type": "timeseries"
}
],
"title": "Server",
"type": "row"
},
{
"collapsed": true,
@ -496,7 +508,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 7
"y": 38
},
"id": 6,
"panels": [
@ -1043,7 +1055,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 8
"y": 39
},
"id": 12,
"panels": [
@ -1113,7 +1125,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 39
"y": 4
},
"id": 13,
"options": {
@ -1214,7 +1226,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 49
"y": 14
},
"id": 15,
"options": {
@ -1314,7 +1326,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 59
"y": 24
},
"id": 14,
"options": {
@ -1414,7 +1426,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 69
"y": 34
},
"id": 16,
"options": {
@ -1514,7 +1526,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 79
"y": 44
},
"id": 17,
"options": {
@ -1614,7 +1626,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 89
"y": 54
},
"id": 18,
"options": {
@ -1716,7 +1728,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 99
"y": 64
},
"id": 19,
"options": {
@ -1756,6 +1768,320 @@
],
"title": "Writecache",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 40
},
"id": 23,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Count of in-flight requests",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"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": 75
},
"id": 24,
"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_replicator_in_flight_requests_total{job=\"node\", instance=\"$instance\"}",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "in-flight requests",
"range": true,
"refId": "A"
}
],
"title": "In-flight request",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Rate of the objects replicated",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"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": 85
},
"id": 25,
"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": "rate(frostfs_node_replicator_processed_objects_total{job=\"node\", instance=\"$instance\"}[$__rate_interval])",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "object processing rate",
"range": true,
"refId": "A"
}
],
"title": "Objects processing rate",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Rate of the objects payload replicated",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 3,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 95
},
"id": 26,
"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": "rate(frostfs_node_replicator_total_replicated_payload_size_bytes{job=\"node\", instance=\"$instance\"}[$__rate_interval])",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "payload processing rate",
"range": true,
"refId": "A"
}
],
"title": "Payload processing rate",
"transformations": [],
"type": "timeseries"
}
],
"title": "Replicator",
"type": "row"
}
],
"refresh": "1m",