[#48] grafana: Fix blobovnicza board

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-08-18 13:40:03 +03:00
parent 731976cc57
commit 6eedab3d83

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",
@ -626,8 +623,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -727,8 +723,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -827,8 +822,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
@ -4136,7 +4130,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Requests per second by blobovnizca method for each shard",
"description": "Requests per second by blobovnicza method for each shard",
"fieldConfig": {
"defaults": {
"color": {
@ -4180,7 +4174,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -4196,7 +4191,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 85
"y": 16
},
"id": 45,
"options": {
@ -4220,7 +4215,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (instance, shard_id, method) (\n rate(frostfs_node_blobovniza_tree_request_duration_seconds_count{instance=\"$instance\"}[$__rate_interval])\n)\n",
"expr": "sum by (instance, shard_id, method) (\n rate(frostfs_node_blobovnicza_tree_request_duration_seconds_count{instance=\"$instance\"}[$__rate_interval])\n)\n",
"format": "time_series",
"instant": false,
"interval": "",
@ -4238,7 +4233,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Percentage of the failed blobovnizca requests for each shard",
"description": "Percentage of the failed blobovnicza requests for each shard",
"fieldConfig": {
"defaults": {
"color": {
@ -4280,7 +4275,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -4296,7 +4292,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 95
"y": 26
},
"id": 46,
"options": {
@ -4320,7 +4316,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(rate(frostfs_node_blobsovniza_tree_request_duration_seconds_count{instance=\"$instance\",success!=\"true\"}[$__rate_interval])) by (shard_id, method)\n / \nsum(rate(frostfs_node_blobsovniza_tree_request_duration_seconds_count{instance=\"$instance\"}[$__rate_interval])) by (shard_id, method)\n * 100.0\n",
"expr": "sum(rate(frostfs_node_blobsovnicza_tree_request_duration_seconds_count{instance=\"$instance\",success!=\"true\"}[$__rate_interval])) by (shard_id, method)\n / \nsum(rate(frostfs_node_blobsovnicza_tree_request_duration_seconds_count{instance=\"$instance\"}[$__rate_interval])) by (shard_id, method)\n * 100.0\n",
"format": "time_series",
"instant": false,
"interval": "",
@ -4338,7 +4334,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Latency of the blobovnizca requests for selected quantile for each shard",
"description": "Latency of the blobovnicza requests for selected quantile for each shard",
"fieldConfig": {
"defaults": {
"color": {
@ -4379,7 +4375,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -4395,7 +4392,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 105
"y": 36
},
"id": 47,
"options": {
@ -4419,7 +4416,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "histogram_quantile($quantile, \n sum(rate(frostfs_node_blobovniza_tree_request_duration_seconds_bucket{job=\"node\", instance=\"$instance\"}[$__rate_interval])) by (shard_id, method,le)\n)\n",
"expr": "histogram_quantile($quantile, \n sum(rate(frostfs_node_blobovnicza_tree_request_duration_seconds_bucket{job=\"node\", instance=\"$instance\"}[$__rate_interval])) by (shard_id, method,le)\n)\n",
"format": "time_series",
"instant": false,
"interval": "",
@ -4437,7 +4434,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Bytes per second by blobovnizca shard",
"description": "Bytes per second by blobovnicza shard",
"fieldConfig": {
"defaults": {
"color": {
@ -4481,7 +4478,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -4497,7 +4495,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 115
"y": 46
},
"id": 48,
"options": {
@ -4521,7 +4519,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (instance, shard_id) (\n rate(frostfs_node_blobovniza_tree_put_bytes{instance=\"$instance\"}[$__rate_interval])\n)\n",
"expr": "sum by (instance, shard_id) (\n rate(frostfs_node_blobovnicza_tree_put_bytes{instance=\"$instance\"}[$__rate_interval])\n)\n",
"format": "time_series",
"instant": false,
"interval": "",
@ -4536,7 +4534,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by (instance, shard_id) (\n rate(frostfs_node_blobovniza_tree_get_bytes{instance=\"$instance\"}[$__rate_interval])\n)\n",
"expr": "sum by (instance, shard_id) (\n rate(frostfs_node_blobovnicza_tree_get_bytes{instance=\"$instance\"}[$__rate_interval])\n)\n",
"format": "time_series",
"hide": false,
"instant": false,
@ -4555,7 +4553,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Blobovnizca size for each shard",
"description": "Open blobovnicza size for each shard",
"fieldConfig": {
"defaults": {
"color": {
@ -4599,7 +4597,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -4615,7 +4614,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 125
"y": 56
},
"id": 50,
"options": {
@ -4639,7 +4638,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "frostfs_node_blobovniza_tree_size_bytes{instance=\"$instance\"}\n",
"expr": "frostfs_node_blobovnicza_tree_open_blobovnicza_size_bytes{instance=\"$instance\"}\n",
"format": "time_series",
"instant": false,
"interval": "",
@ -4648,7 +4647,7 @@
"refId": "A"
}
],
"title": "Size",
"title": "Open blobovnicza size",
"transformations": [],
"type": "timeseries"
},
@ -4657,7 +4656,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Count of open DB's of blobovnizca for each shard",
"description": "Items count of open blobovnicza for each shard",
"fieldConfig": {
"defaults": {
"color": {
@ -4701,7 +4700,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -4717,7 +4717,110 @@
"h": 10,
"w": 24,
"x": 0,
"y": 135
"y": 66
},
"id": 80,
"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_blobovnicza_tree_open_blobovnicza_items_total{instance=\"$instance\"}\n",
"format": "time_series",
"instant": false,
"interval": "",
"legendFormat": "Shard {{shard_id}}",
"range": true,
"refId": "A"
}
],
"title": "Open blobovnicza items",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Count of open blobovniczas for each shard",
"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": 76
},
"id": 51,
"options": {
@ -4741,7 +4844,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "frostfs_node_blobovniza_tree_open_blobovnizca_count{instance=\"$instance\"}\n",
"expr": "frostfs_node_blobovnicza_tree_open_blobovnicza_count{instance=\"$instance\"}\n",
"format": "time_series",
"instant": false,
"interval": "",
@ -4750,7 +4853,7 @@
"refId": "A"
}
],
"title": "Open DB count",
"title": "Open blobovnicza count",
"transformations": [],
"type": "timeseries"
},
@ -4759,7 +4862,7 @@
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Blobovnizca mode for each shard",
"description": "Blobovnicza mode for each shard",
"fieldConfig": {
"defaults": {
"color": {
@ -4802,7 +4905,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -4818,7 +4922,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 145
"y": 86
},
"id": 49,
"options": {
@ -4842,7 +4946,7 @@
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(frostfs_node_blobovniza_tree_mode{job=\"node\", instance=\"$instance\"}) by (shard_id, mode)\n",
"expr": "sum(frostfs_node_blobovnicza_tree_mode{job=\"node\", instance=\"$instance\"}) by (shard_id, mode)\n",
"format": "time_series",
"instant": false,
"interval": "",
@ -4856,7 +4960,7 @@
"type": "timeseries"
}
],
"title": "Blobovnizca",
"title": "Blobovnicza",
"type": "row"
},
{
@ -5776,7 +5880,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -5792,7 +5897,7 @@
"h": 10,
"w": 24,
"x": 0,
"y": 12
"y": 19
},
"id": 65,
"options": {
@ -6618,7 +6723,7 @@
"list": [
{
"current": {
"selected": false,
"selected": true,
"text": "s01.frostfs.devenv:9090",
"value": "s01.frostfs.devenv:9090"
},