Update the Grafana dashboards (#7886)

This commit is contained in:
Pierre Krieger
2021-01-14 14:35:46 +01:00
committed by GitHub
parent ad1717293d
commit c49ed20aec
2 changed files with 1307 additions and 1834 deletions
File diff suppressed because it is too large Load Diff
@@ -13,7 +13,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.7.3"
"version": "7.3.6"
},
{
"type": "panel",
@@ -26,6 +26,12 @@
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"annotations": {
@@ -75,9 +81,36 @@
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1599471940817,
"iteration": 1610462629581,
"links": [],
"panels": [
{
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 42,
"options": {
"content": "",
"mode": "markdown"
},
"pluginVersion": "7.3.6",
"repeat": "nodename",
"timeFrom": null,
"timeShift": null,
"title": "$nodename",
"type": "text"
},
{
"collapsed": false,
"datasource": null,
@@ -85,7 +118,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 0
"y": 1
},
"id": 29,
"panels": [],
@@ -94,17 +127,24 @@
},
{
"aliasColors": {},
"bars": false,
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"fill": 0,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 2,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 1
"y": 2
},
"hiddenSeries": false,
"id": 11,
@@ -122,23 +162,25 @@
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"lines": false,
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"dataLinks": []
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "nodename",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "avg(irate(${metric_namespace}_tasks_polling_duration_sum{instance=~\"${nodename}\"}[10m])) by (task_name)",
"expr": "irate(${metric_namespace}_tasks_polling_duration_sum{instance=~\"${nodename}\"}[10m])",
"interval": "",
"legendFormat": "{{task_name}}",
"refId": "A"
@@ -148,7 +190,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU time spent on each task (average per node)",
"title": "CPU time spent on each task",
"tooltip": {
"shared": true,
"sort": 2,
@@ -191,13 +233,20 @@
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 7
"y": 8
},
"hiddenSeries": false,
"id": 30,
@@ -219,19 +268,21 @@
"linewidth": 2,
"nullPointMode": "null",
"options": {
"dataLinks": []
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "nodename",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "avg(irate(${metric_namespace}_tasks_polling_duration_count{instance=~\"${nodename}\"}[10m])) by (task_name)",
"expr": "irate(${metric_namespace}_tasks_polling_duration_count{instance=~\"${nodename}\"}[10m])",
"interval": "",
"legendFormat": "{{task_name}}",
"refId": "A"
@@ -241,7 +292,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Task polling rate per second (average per node)",
"title": "Task polling rate per second",
"tooltip": {
"shared": true,
"sort": 2,
@@ -284,104 +335,20 @@
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 13
},
"hiddenSeries": false,
"id": 31,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "max(irate(${metric_namespace}_tasks_polling_duration_count{instance=~\"${nodename}\"}[10m])) by (task_name)",
"interval": "",
"legendFormat": "{{task_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Task polling rate per second (maximum per node)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "cps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 19
"y": 14
},
"hiddenSeries": false,
"id": 15,
@@ -401,19 +368,21 @@
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"dataLinks": []
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "nodename",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "avg by(task_name) (irate(${metric_namespace}_tasks_spawned_total{instance=~\"${nodename}\"}[10m]))",
"expr": "irate(${metric_namespace}_tasks_spawned_total{instance=~\"${nodename}\"}[10m])",
"interval": "",
"legendFormat": "{{task_name}}",
"refId": "A"
@@ -423,7 +392,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Number of tasks started per second (average per node)",
"title": "Number of tasks started per second",
"tooltip": {
"shared": true,
"sort": 2,
@@ -466,104 +435,20 @@
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 25
},
"hiddenSeries": false,
"id": 16,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "max by(task_name) (irate(${metric_namespace}_tasks_spawned_total{instance=~\"${nodename}\"}[10m]))",
"interval": "",
"legendFormat": "{{task_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Number of tasks started per second (maximum over all nodes)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 10,
"max": null,
"min": "0",
"show": true
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 31
"y": 20
},
"hiddenSeries": false,
"id": 2,
@@ -583,19 +468,21 @@
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"dataLinks": []
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "nodename",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "avg by(task_name) (${metric_namespace}_tasks_spawned_total{instance=~\"${nodename}\"} - sum(${metric_namespace}_tasks_ended_total{instance=~\"${nodename}\"}) without(reason))",
"expr": "${metric_namespace}_tasks_spawned_total{instance=~\"${nodename}\"} - sum(${metric_namespace}_tasks_ended_total{instance=~\"${nodename}\"}) without(reason)\n\n# Fallback if tasks_ended_total is null for that task\nor on(instance, task_name) ${metric_namespace}_tasks_spawned_total{instance=~\"${nodename}\"}",
"interval": "",
"legendFormat": "{{task_name}}",
"refId": "A"
@@ -605,98 +492,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Number of tasks running (average per node)",
"tooltip": {
"shared": true,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 10,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 37
},
"hiddenSeries": false,
"id": 3,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": true,
"targets": [
{
"expr": "max by(task_name) (${metric_namespace}_tasks_spawned_total{instance=~\"${nodename}\"} - sum(${metric_namespace}_tasks_ended_total{instance=~\"${nodename}\"}) without(reason))",
"interval": "",
"legendFormat": "{{task_name}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Number of tasks running (maximum over all nodes)",
"title": "Number of tasks running",
"tooltip": {
"shared": true,
"sort": 2,
@@ -740,13 +536,20 @@
"dashes": false,
"datasource": "$data_source",
"decimals": null,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 43
"y": 26
},
"hiddenSeries": false,
"id": 7,
@@ -768,19 +571,21 @@
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"dataLinks": []
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "nodename",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": true,
"targets": [
{
"expr": "avg(\n irate(${metric_namespace}_tasks_polling_duration_bucket{instance=~\"${nodename}\", le=\"+Inf\"}[10m])\n - ignoring(le)\n irate(${metric_namespace}_tasks_polling_duration_bucket{instance=~\"${nodename}\", le=\"1.024\"}[10m])\n) by (task_name) > 0",
"expr": "irate(${metric_namespace}_tasks_polling_duration_bucket{instance=~\"${nodename}\", le=\"+Inf\"}[10m])\n - ignoring(le)\n irate(${metric_namespace}_tasks_polling_duration_bucket{instance=~\"${nodename}\", le=\"1.024\"}[10m]) > 0",
"interval": "",
"legendFormat": "{{task_name}}",
"refId": "A"
@@ -790,7 +595,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Calls to `Future::poll` that took more than one second (average per node)",
"title": "Number of calls to `Future::poll` that took more than one second",
"tooltip": {
"shared": true,
"sort": 2,
@@ -835,11 +640,11 @@
"h": 1,
"w": 24,
"x": 0,
"y": 49
"y": 32
},
"id": 27,
"panels": [],
"title": "Misc",
"title": "Unbounded Channels",
"type": "row"
},
{
@@ -848,13 +653,20 @@
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 50
"y": 33
},
"hiddenSeries": false,
"id": 32,
@@ -873,19 +685,21 @@
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "nodename",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(${metric_namespace}_unbounded_channel_len{instance=~\"${nodename}\", action = \"send\"} - ignoring(action) ${metric_namespace}_unbounded_channel_len{instance=~\"${nodename}\", action = \"received\"}) by (entity)",
"expr": "(\n ${metric_namespace}_unbounded_channel_len{instance=~\"${nodename}\", action = \"send\"} - ignoring(action) ${metric_namespace}_unbounded_channel_len{instance=~\"${nodename}\", action = \"received\"}\n)\n\n# Fallback if the `received` is null\nor on(instance) ${metric_namespace}_unbounded_channel_len{instance=~\"${nodename}\", action = \"send\"}",
"interval": "",
"legendFormat": "{{entity}}",
"refId": "B"
@@ -895,7 +709,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Unbounded channels size (average per node)",
"title": "Unbounded channels size",
"tooltip": {
"shared": true,
"sort": 2,
@@ -938,13 +752,20 @@
"dashLength": 10,
"dashes": false,
"datasource": "$data_source",
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 57
"y": 40
},
"hiddenSeries": false,
"id": 33,
@@ -963,19 +784,21 @@
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
"repeat": "nodename",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "avg(irate(${metric_namespace}_unbounded_channel_len{instance=~\"${nodename}\", action = \"send\"}[10m])) by (entity)",
"expr": "irate(${metric_namespace}_unbounded_channel_len{instance=~\"${nodename}\", action = \"send\"}[10m])",
"interval": "",
"legendFormat": "{{entity}}",
"refId": "B"
@@ -985,7 +808,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Unbounded channels rate (average per node)",
"title": "Unbounded channels message sending rate (1s)",
"tooltip": {
"shared": true,
"sort": 2,
@@ -1024,7 +847,7 @@
}
],
"refresh": false,
"schemaVersion": 22,
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
@@ -1034,9 +857,9 @@
"current": {},
"datasource": "$data_source",
"definition": "${metric_namespace}_process_start_time_seconds",
"error": null,
"hide": 0,
"includeAll": true,
"index": -1,
"includeAll": false,
"label": "Instance filter",
"multi": true,
"name": "nodename",
@@ -1055,15 +878,18 @@
{
"current": {
"value": "${VAR_METRIC_NAMESPACE}",
"text": "${VAR_METRIC_NAMESPACE}"
"text": "${VAR_METRIC_NAMESPACE}",
"selected": false
},
"error": null,
"hide": 2,
"label": "Prefix of the metrics",
"name": "metric_namespace",
"options": [
{
"value": "${VAR_METRIC_NAMESPACE}",
"text": "${VAR_METRIC_NAMESPACE}"
"text": "${VAR_METRIC_NAMESPACE}",
"selected": false
}
],
"query": "${VAR_METRIC_NAMESPACE}",
@@ -1076,6 +902,7 @@
"text": "prometheus.parity-mgmt",
"value": "prometheus.parity-mgmt"
},
"error": null,
"hide": 0,
"includeAll": false,
"label": "Source of all the data",
@@ -1108,11 +935,8 @@
"1d"
]
},
"timezone": "",
"timezone": "utc",
"title": "Substrate Service Tasks",
"uid": "3LA6XNqZz",
"variables": {
"list": []
},
"version": 52
"version": 59
}