Skip to content

Commit 823beb4

Browse files
committed
tmpl dash: remove prometheus uid key
1 parent 024e94f commit 823beb4

File tree

7 files changed

+139
-276
lines changed

7 files changed

+139
-276
lines changed

templates/cardano-parts-project/flake/opentofu/grafana/dashboards/cardano-blockperf.json

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
"panels": [
3232
{
3333
"datasource": {
34-
"type": "prometheus",
35-
"uid": "mimir"
34+
"type": "prometheus"
3635
},
3736
"description": "The block number of latest sample.",
3837
"fieldConfig": {
@@ -135,8 +134,7 @@
135134
},
136135
{
137136
"datasource": {
138-
"type": "prometheus",
139-
"uid": "mimir"
137+
"type": "prometheus"
140138
},
141139
"description": "Total block delay.",
142140
"fieldConfig": {
@@ -240,8 +238,7 @@
240238
},
241239
{
242240
"datasource": {
243-
"type": "prometheus",
244-
"uid": "mimir"
241+
"type": "prometheus"
245242
},
246243
"description": "The time from when a block was forged until received.",
247244
"fieldConfig": {
@@ -345,8 +342,7 @@
345342
},
346343
{
347344
"datasource": {
348-
"type": "prometheus",
349-
"uid": "mimir"
345+
"type": "prometheus"
350346
},
351347
"description": "The time between when the header was received until the block request was sent.",
352348
"fieldConfig": {
@@ -450,8 +446,7 @@
450446
},
451447
{
452448
"datasource": {
453-
"type": "prometheus",
454-
"uid": "mimir"
449+
"type": "prometheus"
455450
},
456451
"description": "The time between when the block request was sent until the block response was received.",
457452
"fieldConfig": {
@@ -555,8 +550,7 @@
555550
},
556551
{
557552
"datasource": {
558-
"type": "prometheus",
559-
"uid": "mimir"
553+
"type": "prometheus"
560554
},
561555
"description": "The time for adopting the block.",
562556
"fieldConfig": {
@@ -660,8 +654,7 @@
660654
},
661655
{
662656
"datasource": {
663-
"type": "prometheus",
664-
"uid": "mimir"
657+
"type": "prometheus"
665658
},
666659
"description": "Smoothed to a 1 minute window.",
667660
"fieldConfig": {
@@ -765,8 +758,7 @@
765758
},
766759
{
767760
"datasource": {
768-
"type": "prometheus",
769-
"uid": "mimir"
761+
"type": "prometheus"
770762
},
771763
"description": "Cardano-node ping latency measured from localhost with cardano-cli ping",
772764
"fieldConfig": {
@@ -867,8 +859,7 @@
867859
},
868860
{
869861
"datasource": {
870-
"type": "prometheus",
871-
"uid": "mimir"
862+
"type": "prometheus"
872863
},
873864
"description": "Over a 1 hr window.",
874865
"fieldConfig": {
@@ -972,8 +963,7 @@
972963
},
973964
{
974965
"datasource": {
975-
"type": "prometheus",
976-
"uid": "mimir"
966+
"type": "prometheus"
977967
},
978968
"description": "Valid samples collected.",
979969
"fieldConfig": {
@@ -1076,8 +1066,7 @@
10761066
},
10771067
{
10781068
"datasource": {
1079-
"type": "prometheus",
1080-
"uid": "mimir"
1069+
"type": "prometheus"
10811070
},
10821071
"description": "Invalid samples discarded.",
10831072
"fieldConfig": {
@@ -1191,8 +1180,7 @@
11911180
"value": "mainnet"
11921181
},
11931182
"datasource": {
1194-
"type": "prometheus",
1195-
"uid": "mimir"
1183+
"type": "prometheus"
11961184
},
11971185
"definition": "label_values(cardano_node_metrics_blockNum_int,environment)",
11981186
"hide": 0,
@@ -1224,8 +1212,7 @@
12241212
]
12251213
},
12261214
"datasource": {
1227-
"type": "prometheus",
1228-
"uid": "mimir"
1215+
"type": "prometheus"
12291216
},
12301217
"definition": "label_values(blockperf_block_no,instance)",
12311218
"hide": 0,

templates/cardano-parts-project/flake/opentofu/grafana/dashboards/cardano-mithril.json

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
"panels": [
2727
{
2828
"datasource": {
29-
"type": "prometheus",
30-
"uid": "mimir"
29+
"type": "prometheus"
3130
},
3231
"description": "Signer registration success epoch.",
3332
"fieldConfig": {
@@ -110,8 +109,7 @@
110109
"targets": [
111110
{
112111
"datasource": {
113-
"type": "prometheus",
114-
"uid": "mimir"
112+
"type": "prometheus"
115113
},
116114
"disableTextWrap": false,
117115
"editorMode": "code",
@@ -132,8 +130,7 @@
132130
},
133131
{
134132
"datasource": {
135-
"type": "prometheus",
136-
"uid": "mimir"
133+
"type": "prometheus"
137134
},
138135
"description": "Signer registration success since startup.",
139136
"fieldConfig": {
@@ -216,8 +213,7 @@
216213
"targets": [
217214
{
218215
"datasource": {
219-
"type": "prometheus",
220-
"uid": "mimir"
216+
"type": "prometheus"
221217
},
222218
"disableTextWrap": false,
223219
"editorMode": "code",
@@ -239,8 +235,7 @@
239235
},
240236
{
241237
"datasource": {
242-
"type": "prometheus",
243-
"uid": "mimir"
238+
"type": "prometheus"
244239
},
245240
"description": "Signer registration errors since startup.",
246241
"fieldConfig": {
@@ -323,8 +318,7 @@
323318
"targets": [
324319
{
325320
"datasource": {
326-
"type": "prometheus",
327-
"uid": "mimir"
321+
"type": "prometheus"
328322
},
329323
"disableTextWrap": false,
330324
"editorMode": "code",
@@ -344,8 +338,7 @@
344338
},
345339
{
346340
"datasource": {
347-
"type": "prometheus",
348-
"uid": "mimir"
341+
"type": "prometheus"
349342
},
350343
"description": "Signature registration success epoch.",
351344
"fieldConfig": {
@@ -428,8 +421,7 @@
428421
"targets": [
429422
{
430423
"datasource": {
431-
"type": "prometheus",
432-
"uid": "mimir"
424+
"type": "prometheus"
433425
},
434426
"disableTextWrap": false,
435427
"editorMode": "code",
@@ -449,8 +441,7 @@
449441
},
450442
{
451443
"datasource": {
452-
"type": "prometheus",
453-
"uid": "mimir"
444+
"type": "prometheus"
454445
},
455446
"description": "Signature registration success since startup.",
456447
"fieldConfig": {
@@ -533,8 +524,7 @@
533524
"targets": [
534525
{
535526
"datasource": {
536-
"type": "prometheus",
537-
"uid": "mimir"
527+
"type": "prometheus"
538528
},
539529
"disableTextWrap": false,
540530
"editorMode": "code",
@@ -555,8 +545,7 @@
555545
},
556546
{
557547
"datasource": {
558-
"type": "prometheus",
559-
"uid": "mimir"
548+
"type": "prometheus"
560549
},
561550
"description": "Signature registration errors since startup.",
562551
"fieldConfig": {
@@ -639,8 +628,7 @@
639628
"targets": [
640629
{
641630
"datasource": {
642-
"type": "prometheus",
643-
"uid": "mimir"
631+
"type": "prometheus"
644632
},
645633
"disableTextWrap": false,
646634
"editorMode": "code",
@@ -660,8 +648,7 @@
660648
},
661649
{
662650
"datasource": {
663-
"type": "prometheus",
664-
"uid": "mimir"
651+
"type": "prometheus"
665652
},
666653
"description": "State machine cycles since startup.",
667654
"fieldConfig": {
@@ -744,8 +731,7 @@
744731
"targets": [
745732
{
746733
"datasource": {
747-
"type": "prometheus",
748-
"uid": "mimir"
734+
"type": "prometheus"
749735
},
750736
"disableTextWrap": false,
751737
"editorMode": "code",
@@ -765,8 +751,7 @@
765751
},
766752
{
767753
"datasource": {
768-
"type": "prometheus",
769-
"uid": "mimir"
754+
"type": "prometheus"
770755
},
771756
"description": "State machine cycle success since startup.",
772757
"fieldConfig": {
@@ -849,8 +834,7 @@
849834
"targets": [
850835
{
851836
"datasource": {
852-
"type": "prometheus",
853-
"uid": "mimir"
837+
"type": "prometheus"
854838
},
855839
"editorMode": "code",
856840
"expr": "mithril_signer_runtime_cycle_success_since_startup{environment=\"$environment\"}",
@@ -866,8 +850,7 @@
866850
},
867851
{
868852
"datasource": {
869-
"type": "prometheus",
870-
"uid": "mimir"
853+
"type": "prometheus"
871854
},
872855
"description": "State machine cycle errors since startup.",
873856
"fieldConfig": {
@@ -950,8 +933,7 @@
950933
"targets": [
951934
{
952935
"datasource": {
953-
"type": "prometheus",
954-
"uid": "mimir"
936+
"type": "prometheus"
955937
},
956938
"disableTextWrap": false,
957939
"editorMode": "code",

0 commit comments

Comments
 (0)