export dashboards properly

using export function
This commit is contained in:
Jacek Sieka 2022-11-16 12:38:52 +01:00
parent 0bccef68bd
commit 4925776e66
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
2 changed files with 1513 additions and 1401 deletions

View File

@ -1,4 +1,47 @@
{
"__inputs": [
{
"name": "DS_PROMETHEUS-PROXY",
"label": "prometheus-proxy",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.4.3"
},
{
"type": "panel",
"id": "heatmap",
"name": "Heatmap",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
@ -21,8 +64,8 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 10,
"iteration": 1668594933136,
"id": null,
"iteration": 1668598332189,
"links": [],
"liveNow": false,
"panels": [
@ -1600,7 +1643,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"expr": "rate(beacon_blocks_received_total{instance=\"${instance}\"}[$__rate_interval]) * 12",
"interval": "",
@ -1610,7 +1653,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(beacon_blocks_proposed_total{instance=\"${instance}\"}[$__rate_interval]) * 12",
@ -1621,7 +1664,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(beacon_blocks_dropped_total{instance=\"${instance}\", reason='Ignore'}[$__rate_interval]) * 12",
@ -1633,7 +1676,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(beacon_blocks_dropped_total{instance=\"${instance}\", reason='Reject'}[$__rate_interval]) * 12",
@ -1647,7 +1690,6 @@
"type": "timeseries"
},
{
"description": "",
"fieldConfig": {
"defaults": {
"color": {
@ -1656,7 +1698,6 @@
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
@ -1964,7 +2005,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(nbc_reqresp_messages_received_total{instance=\"${instance}\"}[$__rate_interval])",
@ -1975,7 +2016,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(nbc_reqresp_messages_failed{instance=\"${instance}\"}[$__rate_interval])",
@ -1987,7 +2028,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(nbc_reqresp_messages_throttled{instance=\"${instance}\"}[$__rate_interval])",
@ -2172,7 +2213,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(nbc_reqresp_messages_sent_total{instance=\"${instance}\"}[$__rate_interval])",
@ -3562,7 +3603,7 @@
"type": "stat"
},
{
"collapsed": true,
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
@ -3570,7 +3611,10 @@
"y": 82
},
"id": 88,
"panels": [
"panels": [],
"title": "Validator monitoring",
"type": "row"
},
{
"description": "Number of blocks monitored validators produced in previous epoch",
"fieldConfig": {
@ -3583,7 +3627,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -3598,7 +3643,7 @@
"h": 3,
"w": 2,
"x": 0,
"y": 77
"y": 83
},
"id": 96,
"options": {
@ -3641,7 +3686,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -3656,7 +3702,7 @@
"h": 3,
"w": 2,
"x": 2,
"y": 77
"y": 83
},
"id": 97,
"options": {
@ -3699,7 +3745,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -3714,7 +3761,7 @@
"h": 3,
"w": 2,
"x": 4,
"y": 77
"y": 83
},
"id": 93,
"options": {
@ -3757,7 +3804,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -3772,7 +3820,7 @@
"h": 3,
"w": 2,
"x": 6,
"y": 77
"y": 83
},
"id": 94,
"options": {
@ -3815,7 +3863,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
},
{
"color": "red",
@ -3830,7 +3879,7 @@
"h": 3,
"w": 2,
"x": 8,
"y": 77
"y": 83
},
"id": 95,
"options": {
@ -3873,7 +3922,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -3888,7 +3938,7 @@
"h": 3,
"w": 2,
"x": 10,
"y": 77
"y": 83
},
"id": 99,
"options": {
@ -3931,7 +3981,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -3946,7 +3997,7 @@
"h": 3,
"w": 2,
"x": 12,
"y": 77
"y": 83
},
"id": 105,
"options": {
@ -3989,7 +4040,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4004,7 +4056,7 @@
"h": 3,
"w": 2,
"x": 14,
"y": 77
"y": 83
},
"id": 107,
"options": {
@ -4027,7 +4079,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "sum(validator_monitor_prev_epoch_sync_signature_block_inclusions{instance=\"${instance}\"})",
@ -4051,7 +4103,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4066,7 +4119,7 @@
"h": 3,
"w": 2,
"x": 0,
"y": 80
"y": 86
},
"id": 92,
"options": {
@ -4109,7 +4162,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4124,7 +4178,7 @@
"h": 3,
"w": 2,
"x": 2,
"y": 80
"y": 86
},
"id": 101,
"options": {
@ -4167,7 +4221,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4182,7 +4237,7 @@
"h": 3,
"w": 2,
"x": 4,
"y": 80
"y": 86
},
"id": 100,
"options": {
@ -4225,7 +4280,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4240,7 +4296,7 @@
"h": 3,
"w": 2,
"x": 6,
"y": 80
"y": 86
},
"id": 98,
"options": {
@ -4283,7 +4339,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4298,7 +4355,7 @@
"h": 3,
"w": 2,
"x": 8,
"y": 80
"y": 86
},
"id": 104,
"options": {
@ -4341,7 +4398,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4356,7 +4414,7 @@
"h": 3,
"w": 2,
"x": 10,
"y": 80
"y": 86
},
"id": 102,
"options": {
@ -4399,7 +4457,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4414,7 +4473,7 @@
"h": 3,
"w": 2,
"x": 12,
"y": 80
"y": 86
},
"id": 103,
"options": {
@ -4457,7 +4516,8 @@
"mode": "absolute",
"steps": [
{
"color": "red"
"color": "red",
"value": null
},
{
"color": "green",
@ -4472,7 +4532,7 @@
"h": 3,
"w": 2,
"x": 14,
"y": 80
"y": 86
},
"id": 108,
"options": {
@ -4495,7 +4555,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "sum(validator_monitor_prev_epoch_sync_contribution_inclusions{instance=\"${instance}\"})",
@ -4552,7 +4612,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
},
@ -4580,7 +4641,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 83
"y": 89
},
"id": 89,
"options": {
@ -4666,7 +4727,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
},
@ -4678,7 +4740,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 83
"y": 89
},
"id": 90,
"options": {
@ -4704,24 +4766,17 @@
],
"title": "Balance",
"type": "timeseries"
}
],
"title": "Validator monitoring",
"type": "row"
},
{
"collapsed": false,
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 83
"y": 97
},
"id": 75,
"panels": [],
"title": "Block & Attestation Delays (slow)",
"type": "row"
},
"panels": [
{
"cards": {},
"color": {
@ -4937,6 +4992,10 @@
"yBucketBound": "auto"
}
],
"title": "Block & Attestation Delays (slow)",
"type": "row"
}
],
"refresh": false,
"schemaVersion": 35,
"style": "dark",
@ -4945,18 +5004,14 @@
"list": [
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"definition": "label_values(nim_gc_mem_bytes,instance)",
"definition": "label_values(beacon_current_epoch{job=\"beacon-node-metrics\"},instance)",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "instance",
"options": [],
"query": {
"query": "label_values(nim_gc_mem_bytes,instance)",
"query": "label_values(beacon_current_epoch{job=\"beacon-node-metrics\"},instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
@ -4966,12 +5021,32 @@
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
"useTags": false,
"datasource": "${DS_PROMETHEUS-PROXY}"
},
{
"current": {},
"definition": "label_values(beacon_current_epoch{job=\"beacon-node-metrics\",instance=\"${instance}\"},container)",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "container",
"options": [],
"query": {
"query": "label_values(beacon_current_epoch{job=\"beacon-node-metrics\",instance=\"${instance}\"},container)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query",
"datasource": "${DS_PROMETHEUS-PROXY}"
}
]
},
"time": {
"from": "now-1h",
"from": "now-24h",
"to": "now"
},
"timepicker": {

View File

@ -1,4 +1,47 @@
{
"__inputs": [
{
"name": "DS_PROMETHEUS-PROXY",
"label": "prometheus-proxy",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": [],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.4.3"
},
{
"type": "panel",
"id": "heatmap",
"name": "Heatmap",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
@ -21,8 +64,8 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 10,
"iteration": 1668594933148,
"id": null,
"iteration": 1668598332189,
"links": [],
"liveNow": false,
"panels": [
@ -1600,7 +1643,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"expr": "rate(beacon_blocks_received_total{instance=\"${instance}\",container=\"${container}\"}[$__rate_interval]) * 12",
"interval": "",
@ -1610,7 +1653,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(beacon_blocks_proposed_total{instance=\"${instance}\",container=\"${container}\"}[$__rate_interval]) * 12",
@ -1621,7 +1664,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(beacon_blocks_dropped_total{instance=\"${instance}\",container=\"${container}\", reason='Ignore'}[$__rate_interval]) * 12",
@ -1633,7 +1676,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(beacon_blocks_dropped_total{instance=\"${instance}\",container=\"${container}\", reason='Reject'}[$__rate_interval]) * 12",
@ -1962,7 +2005,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(nbc_reqresp_messages_received_total{instance=\"${instance}\",container=\"${container}\"}[$__rate_interval])",
@ -1973,7 +2016,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(nbc_reqresp_messages_failed{instance=\"${instance}\",container=\"${container}\"}[$__rate_interval])",
@ -1985,7 +2028,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(nbc_reqresp_messages_throttled{instance=\"${instance}\",container=\"${container}\"}[$__rate_interval])",
@ -2170,7 +2213,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "rate(nbc_reqresp_messages_sent_total{instance=\"${instance}\",container=\"${container}\"}[$__rate_interval])",
@ -4296,7 +4339,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "sum(validator_monitor_prev_epoch_sync_signature_block_inclusions{instance=\"${instance}\",container=\"${container}\"})",
@ -4772,7 +4815,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "P5354BB48EF90EBE5"
"uid": "${DS_PROMETHEUS-PROXY}"
},
"exemplar": true,
"expr": "sum(validator_monitor_prev_epoch_sync_contribution_inclusions{instance=\"${instance}\",container=\"${container}\"})",
@ -5220,11 +5263,7 @@
"templating": {
"list": [
{
"current": {
"selected": true,
"text": "linux-06.he-eu-hel1.nimbus.prater",
"value": "linux-06.he-eu-hel1.nimbus.prater"
},
"current": {},
"definition": "label_values(beacon_current_epoch{job=\"beacon-node-metrics\"},instance)",
"hide": 0,
"includeAll": false,
@ -5242,14 +5281,11 @@
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
"useTags": false,
"datasource": "${DS_PROMETHEUS-PROXY}"
},
{
"current": {
"selected": true,
"text": "beacon-node-prater-libp2p",
"value": "beacon-node-prater-libp2p"
},
"current": {},
"definition": "label_values(beacon_current_epoch{job=\"beacon-node-metrics\",instance=\"${instance}\"},container)",
"hide": 0,
"includeAll": true,
@ -5264,12 +5300,13 @@
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
"type": "query",
"datasource": "${DS_PROMETHEUS-PROXY}"
}
]
},
"time": {
"from": "now-7d",
"from": "now-24h",
"to": "now"
},
"timepicker": {
@ -5289,6 +5326,6 @@
"timezone": "",
"title": "Nimbus Fleet Testnets",
"uid": "pgeNfj2Wz23",
"version": 115,
"version": 116,
"weekStart": ""
}