Skip to content

Commit e998934

Browse files
committed
update dashboards
1 parent 476117d commit e998934

File tree

2 files changed

+35
-69
lines changed

2 files changed

+35
-69
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v2
22
name: web3-prometheus-exporter
3-
version: 0.1.3-rc7
3+
version: 0.1.3-rc8
44
appVersion: 0.3.0

charts/Web3-prometheus-exporter/templates/grafana-dashboard-cm.yaml

Lines changed: 34 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ data:
4040
},
4141
{
4242
"datasource": {
43-
"type": "prometheus",
44-
"uid": "prometheus"
43+
"type": "prometheus"
4544
},
4645
"description": "",
4746
"fieldConfig": {
@@ -94,8 +93,7 @@ data:
9493
"targets": [
9594
{
9695
"datasource": {
97-
"type": "prometheus",
98-
"uid": "prometheus"
96+
"type": "prometheus"
9997
},
10098
"disableTextWrap": false,
10199
"editorMode": "code",
@@ -114,8 +112,7 @@ data:
114112
},
115113
{
116114
"datasource": {
117-
"type": "prometheus",
118-
"uid": "prometheus"
115+
"type": "prometheus"
119116
},
120117
"fieldConfig": {
121118
"defaults": {
@@ -162,8 +159,7 @@ data:
162159
"targets": [
163160
{
164161
"datasource": {
165-
"type": "prometheus",
166-
"uid": "prometheus"
162+
"type": "prometheus"
167163
},
168164
"editorMode": "code",
169165
"expr": "sum((rate({asset_name=\"$asset\", __name__=~\"^web3_prometheus_exporter_.+_account_balance$\"}[24h])) * 60 * 60 * 24 / 10 ^ $decimals)",
@@ -178,8 +174,7 @@ data:
178174
},
179175
{
180176
"datasource": {
181-
"type": "prometheus",
182-
"uid": "prometheus"
177+
"type": "prometheus"
183178
},
184179
"fieldConfig": {
185180
"defaults": {
@@ -227,8 +222,7 @@ data:
227222
"targets": [
228223
{
229224
"datasource": {
230-
"type": "prometheus",
231-
"uid": "prometheus"
225+
"type": "prometheus"
232226
},
233227
"editorMode": "code",
234228
"expr": "sum({asset_name=\"$asset\", __name__=~\"^web3_prometheus_exporter_.+_account_balance$\"} / 10^$decimals)",
@@ -243,8 +237,7 @@ data:
243237
},
244238
{
245239
"datasource": {
246-
"type": "prometheus",
247-
"uid": "prometheus"
240+
"type": "prometheus"
248241
},
249242
"description": "",
250243
"fieldConfig": {
@@ -297,8 +290,7 @@ data:
297290
"targets": [
298291
{
299292
"datasource": {
300-
"type": "prometheus",
301-
"uid": "prometheus"
293+
"type": "prometheus"
302294
},
303295
"editorMode": "code",
304296
"expr": "sum by (blockchain_name) ({asset_name=\"$asset\", __name__=~\"^web3_prometheus_exporter_.+_account_balance$\"})",
@@ -313,8 +305,7 @@ data:
313305
},
314306
{
315307
"datasource": {
316-
"type": "prometheus",
317-
"uid": "prometheus"
308+
"type": "prometheus"
318309
},
319310
"fieldConfig": {
320311
"defaults": {
@@ -379,8 +370,7 @@ data:
379370
"targets": [
380371
{
381372
"datasource": {
382-
"type": "prometheus",
383-
"uid": "prometheus"
373+
"type": "prometheus"
384374
},
385375
"editorMode": "code",
386376
"exemplar": false,
@@ -393,8 +383,7 @@ data:
393383
},
394384
{
395385
"datasource": {
396-
"type": "prometheus",
397-
"uid": "prometheus"
386+
"type": "prometheus"
398387
},
399388
"editorMode": "code",
400389
"exemplar": false,
@@ -462,8 +451,7 @@ data:
462451
},
463452
{
464453
"datasource": {
465-
"type": "prometheus",
466-
"uid": "prometheus"
454+
"type": "prometheus"
467455
},
468456
"fieldConfig": {
469457
"defaults": {
@@ -515,8 +503,7 @@ data:
515503
"targets": [
516504
{
517505
"datasource": {
518-
"type": "prometheus",
519-
"uid": "prometheus"
506+
"type": "prometheus"
520507
},
521508
"disableTextWrap": false,
522509
"editorMode": "code",
@@ -550,8 +537,7 @@ data:
550537
},
551538
{
552539
"datasource": {
553-
"type": "prometheus",
554-
"uid": "prometheus"
540+
"type": "prometheus"
555541
},
556542
"fieldConfig": {
557543
"defaults": {
@@ -637,8 +623,7 @@ data:
637623
"targets": [
638624
{
639625
"datasource": {
640-
"type": "prometheus",
641-
"uid": "prometheus"
626+
"type": "prometheus"
642627
},
643628
"disableTextWrap": false,
644629
"editorMode": "code",
@@ -659,8 +644,7 @@ data:
659644
},
660645
{
661646
"datasource": {
662-
"type": "prometheus",
663-
"uid": "prometheus"
647+
"type": "prometheus"
664648
},
665649
"fieldConfig": {
666650
"defaults": {
@@ -738,8 +722,7 @@ data:
738722
"targets": [
739723
{
740724
"datasource": {
741-
"type": "prometheus",
742-
"uid": "prometheus"
725+
"type": "prometheus"
743726
},
744727
"disableTextWrap": false,
745728
"editorMode": "code",
@@ -770,8 +753,7 @@ data:
770753
"value": "AVL"
771754
},
772755
"datasource": {
773-
"type": "prometheus",
774-
"uid": "prometheus"
756+
"type": "prometheus"
775757
},
776758
"definition": "label_values({__name__=~\"^web3_prometheus_exporter_.+_account_balance$\"},asset_name)",
777759
"hide": 0,
@@ -803,8 +785,7 @@ data:
803785
]
804786
},
805787
"datasource": {
806-
"type": "prometheus",
807-
"uid": "prometheus"
788+
"type": "prometheus"
808789
},
809790
"definition": "label_values({__name__=~\"^web3_prometheus_exporter_.+_account_balance$\", asset_name=\"$asset\"},account)",
810791
"hide": 2,
@@ -831,8 +812,7 @@ data:
831812
"value": "18"
832813
},
833814
"datasource": {
834-
"type": "prometheus",
835-
"uid": "prometheus"
815+
"type": "prometheus"
836816
},
837817
"definition": "query_result(sum by (decimals) (rate({__name__=~\"^web3_prometheus_exporter_.+_account_balance$\", asset_name=\"$asset\"}[1m])))",
838818
"description": "Amount of decimals for a given blockchain asset",
@@ -909,8 +889,7 @@ data:
909889
{
910890
"datasource": {
911891
"default": true,
912-
"type": "prometheus",
913-
"uid": "P1809F7CD0C75ACF3"
892+
"type": "prometheus"
914893
},
915894
"description": "",
916895
"fieldConfig": {
@@ -963,8 +942,7 @@ data:
963942
"targets": [
964943
{
965944
"datasource": {
966-
"type": "prometheus",
967-
"uid": "P1809F7CD0C75ACF3"
945+
"type": "prometheus"
968946
},
969947
"disableTextWrap": false,
970948
"editorMode": "code",
@@ -984,8 +962,7 @@ data:
984962
{
985963
"datasource": {
986964
"default": true,
987-
"type": "prometheus",
988-
"uid": "P1809F7CD0C75ACF3"
965+
"type": "prometheus"
989966
},
990967
"description": "",
991968
"fieldConfig": {
@@ -1038,8 +1015,7 @@ data:
10381015
"targets": [
10391016
{
10401017
"datasource": {
1041-
"type": "prometheus",
1042-
"uid": "P1809F7CD0C75ACF3"
1018+
"type": "prometheus"
10431019
},
10441020
"disableTextWrap": false,
10451021
"editorMode": "code",
@@ -1059,8 +1035,7 @@ data:
10591035
{
10601036
"datasource": {
10611037
"default": true,
1062-
"type": "prometheus",
1063-
"uid": "P1809F7CD0C75ACF3"
1038+
"type": "prometheus"
10641039
},
10651040
"fieldConfig": {
10661041
"defaults": {
@@ -1140,8 +1115,7 @@ data:
11401115
"targets": [
11411116
{
11421117
"datasource": {
1143-
"type": "prometheus",
1144-
"uid": "P1809F7CD0C75ACF3"
1118+
"type": "prometheus"
11451119
},
11461120
"disableTextWrap": false,
11471121
"editorMode": "code",
@@ -1160,8 +1134,7 @@ data:
11601134
},
11611135
{
11621136
"datasource": {
1163-
"type": "prometheus",
1164-
"uid": "P1809F7CD0C75ACF3"
1137+
"type": "prometheus"
11651138
},
11661139
"description": "",
11671140
"fieldConfig": {
@@ -1214,8 +1187,7 @@ data:
12141187
"targets": [
12151188
{
12161189
"datasource": {
1217-
"type": "prometheus",
1218-
"uid": "P1809F7CD0C75ACF3"
1190+
"type": "prometheus"
12191191
},
12201192
"editorMode": "code",
12211193
"expr": "sum by (blockchain_name) ({asset_name=\"$asset\", __name__=~\"^web3_prometheus_exporter_.+_account_balance$\"})",
@@ -1230,8 +1202,7 @@ data:
12301202
},
12311203
{
12321204
"datasource": {
1233-
"type": "prometheus",
1234-
"uid": "P1809F7CD0C75ACF3"
1205+
"type": "prometheus"
12351206
},
12361207
"fieldConfig": {
12371208
"defaults": {
@@ -1283,8 +1254,7 @@ data:
12831254
"targets": [
12841255
{
12851256
"datasource": {
1286-
"type": "prometheus",
1287-
"uid": "P1809F7CD0C75ACF3"
1257+
"type": "prometheus"
12881258
},
12891259
"disableTextWrap": false,
12901260
"editorMode": "code",
@@ -1306,8 +1276,7 @@ data:
13061276
{
13071277
"datasource": {
13081278
"default": true,
1309-
"type": "prometheus",
1310-
"uid": "P1809F7CD0C75ACF3"
1279+
"type": "prometheus"
13111280
},
13121281
"fieldConfig": {
13131282
"defaults": {
@@ -1399,8 +1368,7 @@ data:
13991368
"targets": [
14001369
{
14011370
"datasource": {
1402-
"type": "prometheus",
1403-
"uid": "P1809F7CD0C75ACF3"
1371+
"type": "prometheus"
14041372
},
14051373
"disableTextWrap": false,
14061374
"editorMode": "code",
@@ -1484,8 +1452,7 @@ data:
14841452
"value": "Atom"
14851453
},
14861454
"datasource": {
1487-
"type": "prometheus",
1488-
"uid": "P1809F7CD0C75ACF3"
1455+
"type": "prometheus"
14891456
},
14901457
"definition": "label_values(web3_prometheus_exporter_validator_status,asset_name)",
14911458
"hide": 0,
@@ -1513,8 +1480,7 @@ data:
15131480
"value": "$__all"
15141481
},
15151482
"datasource": {
1516-
"type": "prometheus",
1517-
"uid": "P1809F7CD0C75ACF3"
1483+
"type": "prometheus"
15181484
},
15191485
"definition": "label_values(web3_prometheus_exporter_validator_status{asset_name=\"$asset\"},account)",
15201486
"hide": 2,

0 commit comments

Comments
 (0)