Files
pezkuwi-subxt/polkadot/grafana/general/kusama_deployment.json
T
sandreim 90d986121d Add Parachain Grafana dashboards (#4578)
* Read me.

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Add dashboards and readme

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Update root readme

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Add dashboard links in readme

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* updates

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Updates

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* bump zombienet version

Co-authored-by: Javier Viola <javier@parity.io>
2021-12-28 20:18:13 +00:00

928 lines
21 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Monitors deployed versions, warnings and errors logged.",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 88,
"iteration": 1640613477360,
"links": [],
"liveNow": false,
"panels": [
{
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 36,
"title": "Overview",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "P5CA6DFE95AABF258"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 7,
"x": 0,
"y": 1
},
"id": 22,
"options": {
"displayLabels": [
"name",
"percent"
],
"legend": {
"displayMode": "hidden",
"placement": "bottom",
"values": [
"percent"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P5CA6DFE95AABF258"
},
"exemplar": false,
"expr": "sort_desc (count by (version) (polkadot_build_info{chain=\"kusama\", instance=~\".*validator.*\"}))",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ version }}",
"refId": "A"
}
],
"title": "Versions",
"type": "piechart"
},
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 7,
"x": 7,
"y": 1
},
"id": 31,
"links": [],
"options": {
"displayLabels": [
"name",
"percent"
],
"legend": {
"displayMode": "hidden",
"placement": "bottom"
},
"pieType": "donut",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"expr": "sum(count_over_time({host=~\"kusama-validator.*\", level=\"WARN\"} [1h])) by (target)",
"instant": false,
"legendFormat": "{{ target }}",
"range": true,
"refId": "A"
}
],
"title": "Warnings / h / target",
"transformations": [],
"type": "piechart"
},
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": []
},
"overrides": []
},
"gridPos": {
"h": 13,
"w": 7,
"x": 14,
"y": 1
},
"id": 33,
"links": [],
"options": {
"displayLabels": [
"name",
"percent"
],
"legend": {
"displayMode": "list",
"placement": "bottom"
},
"pieType": "donut",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single"
}
},
"pluginVersion": "8.1.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"expr": "sum(count_over_time({host=~\"kusama-validator.*\", level=\"ERROR\"} [1h])) by (target)",
"instant": false,
"legendFormat": "{{ target }}",
"range": true,
"refId": "A"
}
],
"title": "Errors / h / target",
"transformations": [],
"type": "piechart"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 14
},
"id": 16,
"panels": [],
"title": "Validator versions",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "P5CA6DFE95AABF258"
},
"description": "Version information for all nodes.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 14,
"x": 0,
"y": 15
},
"id": 13,
"options": {
"displayMode": "lcd",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"text": {
"titleSize": 12,
"valueSize": 22
}
},
"pluginVersion": "8.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P5CA6DFE95AABF258"
},
"exemplar": false,
"expr": "sort_desc (count by (version) (polkadot_build_info{chain=\"kusama\", instance=~\".*validator.*\"}))",
"instant": true,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{ version }}",
"refId": "A"
}
],
"title": "Versions",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "P5CA6DFE95AABF258"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "custom.width",
"value": 232
}
]
},
{
"matcher": {
"id": "byName",
"options": "name"
},
"properties": [
{
"id": "custom.width",
"value": 220
}
]
}
]
},
"gridPos": {
"h": 12,
"w": 10,
"x": 14,
"y": 15
},
"id": 20,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 2,
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "version (lastNotNull)"
}
]
},
"pluginVersion": "8.3.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P5CA6DFE95AABF258"
},
"exemplar": false,
"expr": "polkadot_build_info{instance=~\".*validator.*\",chain=\"kusama\"}",
"format": "table",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Node versions ",
"transformations": [
{
"id": "groupBy",
"options": {
"fields": {
"name": {
"aggregations": [],
"operation": "groupby"
},
"version": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
}
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 27
},
"id": 18,
"panels": [],
"title": "Warnings and errors",
"type": "row"
},
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 500
},
{
"color": "red",
"value": 1000
}
]
},
"unit": "warnings/h"
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 12,
"x": 0,
"y": 28
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.1.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"expr": "sum(count_over_time({host=~\"kusama-validator.*\", level=\"WARN\"} [1h])) by (target)",
"instant": false,
"legendFormat": "{{target}}",
"range": true,
"refId": "A"
}
],
"title": "All warnings / hour",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 500
},
{
"color": "red",
"value": 1000
}
]
},
"unit": "warnings/h"
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 12,
"x": 12,
"y": 28
},
"id": 30,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.1.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"expr": "sum(count_over_time({host=~\"kusama-validator.*\", level=\"WARN\", target=\"parachain\"}[1h])) by (subtarget)",
"hide": false,
"instant": false,
"legendFormat": "{{subtarget}}",
"range": true,
"refId": "B"
}
],
"title": "Parachain warnings/hour",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-red",
"value": 3
}
]
},
"unit": "warnings/h"
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 12,
"x": 0,
"y": 40
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.1.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"expr": "sum(count_over_time({host=~\"kusama-validator.*\", level=\"ERROR\"} [1h])) by (target)",
"instant": false,
"legendFormat": "{{target}}",
"range": true,
"refId": "A"
}
],
"title": "All errors / hour",
"transformations": [],
"type": "timeseries"
},
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "line"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 5
},
{
"color": "red",
"value": 15
}
]
},
"unit": "warnings/h"
},
"overrides": []
},
"gridPos": {
"h": 12,
"w": 12,
"x": 12,
"y": 40
},
"id": 32,
"links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "8.1.3",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P367D1C7027A603FA"
},
"expr": "sum(count_over_time({host=~\"kusama-validator.*\", level=\"ERROR\", target=\"parachain\"}[1h])) by (subtarget)",
"hide": false,
"instant": false,
"legendFormat": "{{subtarget}}",
"range": true,
"refId": "B"
}
],
"title": "Parachain errors/hour",
"transformations": [],
"type": "timeseries"
}
],
"refresh": "15m",
"schemaVersion": 34,
"style": "dark",
"tags": [
"Kusama",
"Loki",
"Logs"
],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "P5CA6DFE95AABF258"
},
"definition": "polkadot_build_info{chain=\"$chain\"}",
"description": "Version of the node",
"hide": 0,
"includeAll": true,
"label": "Version",
"multi": true,
"name": "version",
"options": [],
"query": {
"query": "polkadot_build_info{chain=\"$chain\"}",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": ".*version=\"(.*?)\".*",
"skipUrlSync": false,
"sort": 5,
"type": "query"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "P5CA6DFE95AABF258"
},
"definition": "polkadot_sync_peers{chain=\"$chain\"}",
"description": "Validator hosts",
"hide": 0,
"includeAll": true,
"label": "Instance",
"multi": true,
"name": "instance",
"options": [],
"query": {
"query": "polkadot_sync_peers{chain=\"$chain\"}",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": ".*instance=\"(.*validator.*)*",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-7d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Kusama Validators Overview",
"uid": "0i-QjQ82j",
"version": 29,
"weekStart": ""
}