Skip to content

Commit b07233a

Browse files
author
Dan Laine
committed
fix inputs
1 parent 39476cf commit b07233a

File tree

3 files changed

+46
-136
lines changed

3 files changed

+46
-136
lines changed

dashboards/c_chain.json

+16-46
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,4 @@
11
{
2-
"__inputs": [
3-
{
4-
"name": "DS_PROMETHEUS",
5-
"label": "Prometheus",
6-
"description": "",
7-
"type": "datasource",
8-
"pluginId": "prometheus",
9-
"pluginName": "Prometheus"
10-
}
11-
],
12-
"__requires": [
13-
{
14-
"type": "grafana",
15-
"id": "grafana",
16-
"name": "Grafana",
17-
"version": "7.5.0"
18-
},
19-
{
20-
"type": "panel",
21-
"id": "graph",
22-
"name": "Graph",
23-
"version": ""
24-
},
25-
{
26-
"type": "datasource",
27-
"id": "prometheus",
28-
"name": "Prometheus",
29-
"version": "1.0.0"
30-
}
31-
],
322
"annotations": {
333
"list": [
344
{
@@ -45,15 +15,15 @@
4515
"editable": true,
4616
"gnetId": null,
4717
"graphTooltip": 0,
48-
"id": null,
18+
"id": 38,
4919
"links": [],
5020
"panels": [
5121
{
5222
"aliasColors": {},
5323
"bars": true,
5424
"dashLength": 10,
5525
"dashes": false,
56-
"datasource": "${DS_PROMETHEUS}",
26+
"datasource": "Prometheus",
5727
"fieldConfig": {
5828
"defaults": {},
5929
"overrides": []
@@ -146,7 +116,7 @@
146116
"bars": true,
147117
"dashLength": 10,
148118
"dashes": false,
149-
"datasource": "${DS_PROMETHEUS}",
119+
"datasource": "Prometheus",
150120
"fieldConfig": {
151121
"defaults": {},
152122
"overrides": []
@@ -274,7 +244,7 @@
274244
"bars": false,
275245
"dashLength": 10,
276246
"dashes": false,
277-
"datasource": "${DS_PROMETHEUS}",
247+
"datasource": "Prometheus",
278248
"description": "The average time between a block's issuance and acceptance by this node over the last 5 minutes.",
279249
"fieldConfig": {
280250
"defaults": {},
@@ -377,7 +347,7 @@
377347
"bars": false,
378348
"dashLength": 10,
379349
"dashes": false,
380-
"datasource": "${DS_PROMETHEUS}",
350+
"datasource": "Prometheus",
381351
"description": "The average time between a block's issuance and rejection by this node over the last 5 minutes.",
382352
"fieldConfig": {
383353
"defaults": {},
@@ -507,7 +477,7 @@
507477
"bars": true,
508478
"dashLength": 10,
509479
"dashes": false,
510-
"datasource": "${DS_PROMETHEUS}",
480+
"datasource": "Prometheus",
511481
"fieldConfig": {
512482
"defaults": {},
513483
"overrides": []
@@ -645,7 +615,7 @@
645615
"bars": false,
646616
"dashLength": 10,
647617
"dashes": false,
648-
"datasource": "${DS_PROMETHEUS}",
618+
"datasource": "Prometheus",
649619
"description": "Percentage of queries for which we receive chits on time.",
650620
"fieldConfig": {
651621
"defaults": {},
@@ -749,7 +719,7 @@
749719
"bars": false,
750720
"dashLength": 10,
751721
"dashes": false,
752-
"datasource": "${DS_PROMETHEUS}",
722+
"datasource": "Prometheus",
753723
"description": "Measures how much of each second is being spent handling different kinds of messages on the C-Chain.\nThe value for chits, for example, is the number of seconds spent handling chits messages per second, over the last 30 seconds.",
754724
"fieldConfig": {
755725
"defaults": {},
@@ -913,7 +883,7 @@
913883
"bars": false,
914884
"dashLength": 10,
915885
"dashes": false,
916-
"datasource": "${DS_PROMETHEUS}",
886+
"datasource": "Prometheus",
917887
"description": "Measures how long each kind of request on the C-Chain takes to handle.\nThe value for chits, for example, is how long, in seconds, it takes to handle a chits message.",
918888
"fieldConfig": {
919889
"defaults": {},
@@ -1077,7 +1047,7 @@
10771047
"bars": true,
10781048
"dashLength": 10,
10791049
"dashes": false,
1080-
"datasource": "${DS_PROMETHEUS}",
1050+
"datasource": "Prometheus",
10811051
"description": "The total stake of validators currently \"benched\" due to poor query responsiveness. Queries to these validators will immediately timeout until they are removed from the \"bench.\"",
10821052
"fieldConfig": {
10831053
"defaults": {},
@@ -1171,7 +1141,7 @@
11711141
"bars": false,
11721142
"dashLength": 10,
11731143
"dashes": false,
1174-
"datasource": "${DS_PROMETHEUS}",
1144+
"datasource": "Prometheus",
11751145
"description": "Measures how many of each kind of message are received per second on the C-Chain.",
11761146
"fieldConfig": {
11771147
"defaults": {},
@@ -1332,7 +1302,7 @@
13321302
},
13331303
{
13341304
"collapsed": false,
1335-
"datasource": "${DS_PROMETHEUS}",
1305+
"datasource": null,
13361306
"gridPos": {
13371307
"h": 1,
13381308
"w": 24,
@@ -1407,7 +1377,7 @@
14071377
"bars": false,
14081378
"dashLength": 10,
14091379
"dashes": false,
1410-
"datasource": "${DS_PROMETHEUS}",
1380+
"datasource": "Prometheus",
14111381
"fieldConfig": {
14121382
"defaults": {},
14131383
"overrides": []
@@ -1511,7 +1481,7 @@
15111481
"bars": false,
15121482
"dashLength": 10,
15131483
"dashes": false,
1514-
"datasource": "${DS_PROMETHEUS}",
1484+
"datasource": "Prometheus",
15151485
"fieldConfig": {
15161486
"defaults": {},
15171487
"overrides": []
@@ -1604,7 +1574,7 @@
16041574
"bars": false,
16051575
"dashLength": 10,
16061576
"dashes": false,
1607-
"datasource": "${DS_PROMETHEUS}",
1577+
"datasource": null,
16081578
"fieldConfig": {
16091579
"defaults": {},
16101580
"overrides": []
@@ -1697,7 +1667,7 @@
16971667
"bars": false,
16981668
"dashLength": 10,
16991669
"dashes": false,
1700-
"datasource": "${DS_PROMETHEUS}",
1670+
"datasource": null,
17011671
"description": "Number of incoming messages dropped due to rate-limiting in the last minute",
17021672
"fieldConfig": {
17031673
"defaults": {},

dashboards/p_chain.json

+16-46
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,4 @@
11
{
2-
"__inputs": [
3-
{
4-
"name": "DS_PROMETHEUS",
5-
"label": "Prometheus",
6-
"description": "",
7-
"type": "datasource",
8-
"pluginId": "prometheus",
9-
"pluginName": "Prometheus"
10-
}
11-
],
12-
"__requires": [
13-
{
14-
"type": "grafana",
15-
"id": "grafana",
16-
"name": "Grafana",
17-
"version": "7.5.0"
18-
},
19-
{
20-
"type": "panel",
21-
"id": "graph",
22-
"name": "Graph",
23-
"version": ""
24-
},
25-
{
26-
"type": "datasource",
27-
"id": "prometheus",
28-
"name": "Prometheus",
29-
"version": "1.0.0"
30-
}
31-
],
322
"annotations": {
333
"list": [
344
{
@@ -45,15 +15,15 @@
4515
"editable": true,
4616
"gnetId": null,
4717
"graphTooltip": 0,
48-
"id": null,
18+
"id": 39,
4919
"links": [],
5020
"panels": [
5121
{
5222
"aliasColors": {},
5323
"bars": true,
5424
"dashLength": 10,
5525
"dashes": false,
56-
"datasource": "${DS_PROMETHEUS}",
26+
"datasource": "Prometheus",
5727
"fieldConfig": {
5828
"defaults": {},
5929
"overrides": []
@@ -146,7 +116,7 @@
146116
"bars": true,
147117
"dashLength": 10,
148118
"dashes": false,
149-
"datasource": "${DS_PROMETHEUS}",
119+
"datasource": "Prometheus",
150120
"fieldConfig": {
151121
"defaults": {},
152122
"overrides": []
@@ -274,7 +244,7 @@
274244
"bars": false,
275245
"dashLength": 10,
276246
"dashes": false,
277-
"datasource": "${DS_PROMETHEUS}",
247+
"datasource": "Prometheus",
278248
"description": "The average time between a block's issuance and acceptance by this node over the last 5 minutes.",
279249
"fieldConfig": {
280250
"defaults": {},
@@ -412,7 +382,7 @@
412382
"bars": false,
413383
"dashLength": 10,
414384
"dashes": false,
415-
"datasource": "${DS_PROMETHEUS}",
385+
"datasource": "Prometheus",
416386
"description": "The average time between a block's issuance and rejection by this node over the last 5 minutes.",
417387
"fieldConfig": {
418388
"defaults": {},
@@ -551,7 +521,7 @@
551521
"bars": true,
552522
"dashLength": 10,
553523
"dashes": false,
554-
"datasource": "${DS_PROMETHEUS}",
524+
"datasource": "Prometheus",
555525
"fieldConfig": {
556526
"defaults": {},
557527
"overrides": []
@@ -689,7 +659,7 @@
689659
"bars": false,
690660
"dashLength": 10,
691661
"dashes": false,
692-
"datasource": "${DS_PROMETHEUS}",
662+
"datasource": "Prometheus",
693663
"description": "Percentage of queries for which we receive chits on time.",
694664
"fieldConfig": {
695665
"defaults": {},
@@ -793,7 +763,7 @@
793763
"bars": false,
794764
"dashLength": 10,
795765
"dashes": false,
796-
"datasource": "${DS_PROMETHEUS}",
766+
"datasource": "Prometheus",
797767
"description": "Measures how much of each second is being spent handling different kinds of messages on the P-Chain.\nThe value for chits, for example, is the number of seconds spent handling chits messages per second, over the last 30 seconds.",
798768
"fieldConfig": {
799769
"defaults": {},
@@ -957,7 +927,7 @@
957927
"bars": false,
958928
"dashLength": 10,
959929
"dashes": false,
960-
"datasource": "${DS_PROMETHEUS}",
930+
"datasource": "Prometheus",
961931
"description": "Measures how long each kind of request on the P-Chain takes to handle.\nThe value for chits, for example, is how long, in seconds, it takes to handle a chits message.",
962932
"fieldConfig": {
963933
"defaults": {},
@@ -1121,7 +1091,7 @@
11211091
"bars": true,
11221092
"dashLength": 10,
11231093
"dashes": false,
1124-
"datasource": "${DS_PROMETHEUS}",
1094+
"datasource": "Prometheus",
11251095
"description": "The total stake of validators currently \"benched\" due to poor query responsiveness. Queries to these validators will immediately timeout until they are removed from the \"bench.\"",
11261096
"fieldConfig": {
11271097
"defaults": {},
@@ -1215,7 +1185,7 @@
12151185
"bars": false,
12161186
"dashLength": 10,
12171187
"dashes": false,
1218-
"datasource": "${DS_PROMETHEUS}",
1188+
"datasource": "Prometheus",
12191189
"description": "Measures how many of each kind of message are received per second on the P-Chain.",
12201190
"fieldConfig": {
12211191
"defaults": {},
@@ -1375,7 +1345,7 @@
13751345
}
13761346
},
13771347
{
1378-
"datasource": "${DS_PROMETHEUS}",
1348+
"datasource": null,
13791349
"gridPos": {
13801350
"h": 1,
13811351
"w": 24,
@@ -1449,7 +1419,7 @@
14491419
"bars": false,
14501420
"dashLength": 10,
14511421
"dashes": false,
1452-
"datasource": "${DS_PROMETHEUS}",
1422+
"datasource": "Prometheus",
14531423
"fieldConfig": {
14541424
"defaults": {},
14551425
"overrides": []
@@ -1553,7 +1523,7 @@
15531523
"bars": false,
15541524
"dashLength": 10,
15551525
"dashes": false,
1556-
"datasource": "${DS_PROMETHEUS}",
1526+
"datasource": "Prometheus",
15571527
"fieldConfig": {
15581528
"defaults": {},
15591529
"overrides": []
@@ -1646,7 +1616,7 @@
16461616
"bars": false,
16471617
"dashLength": 10,
16481618
"dashes": false,
1649-
"datasource": "${DS_PROMETHEUS}",
1619+
"datasource": null,
16501620
"fieldConfig": {
16511621
"defaults": {},
16521622
"overrides": []
@@ -1739,7 +1709,7 @@
17391709
"bars": false,
17401710
"dashLength": 10,
17411711
"dashes": false,
1742-
"datasource": "${DS_PROMETHEUS}",
1712+
"datasource": null,
17431713
"description": "",
17441714
"fieldConfig": {
17451715
"defaults": {},

0 commit comments

Comments
 (0)