Skip to content

Commit 3593bc1

Browse files
authored
Fixed capital letter in Grafana dashboard for Prometheus data source (#727)
1 parent 52e944d commit 3593bc1

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

infrastructure/scripts/spring-ai/monitoring-spring-ai.sh

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ cat > /tmp/dashboard.json <<EOF
8080
{
8181
"datasource": {
8282
"type": "prometheus",
83-
"uid": "prometheus"
83+
"uid": "Prometheus"
8484
},
8585
"fieldConfig": {
8686
"defaults": {
@@ -160,7 +160,7 @@ cat > /tmp/dashboard.json <<EOF
160160
{
161161
"datasource": {
162162
"type": "prometheus",
163-
"uid": "prometheus"
163+
"uid": "Prometheus"
164164
},
165165
"disableTextWrap": false,
166166
"editorMode": "builder",
@@ -180,7 +180,7 @@ cat > /tmp/dashboard.json <<EOF
180180
{
181181
"datasource": {
182182
"type": "prometheus",
183-
"uid": "prometheus"
183+
"uid": "Prometheus"
184184
},
185185
"description": "Error counts/rate for the AI model requests",
186186
"fieldConfig": {
@@ -235,7 +235,7 @@ cat > /tmp/dashboard.json <<EOF
235235
{
236236
"datasource": {
237237
"type": "prometheus",
238-
"uid": "prometheus"
238+
"uid": "Prometheus"
239239
},
240240
"disableTextWrap": false,
241241
"editorMode": "builder",
@@ -252,7 +252,7 @@ cat > /tmp/dashboard.json <<EOF
252252
{
253253
"datasource": {
254254
"type": "prometheus",
255-
"uid": "prometheus"
255+
"uid": "Prometheus"
256256
},
257257
"disableTextWrap": false,
258258
"editorMode": "builder",
@@ -273,7 +273,7 @@ cat > /tmp/dashboard.json <<EOF
273273
{
274274
"datasource": {
275275
"type": "prometheus",
276-
"uid": "prometheus"
276+
"uid": "Prometheus"
277277
},
278278
"fieldConfig": {
279279
"defaults": {
@@ -328,7 +328,7 @@ cat > /tmp/dashboard.json <<EOF
328328
{
329329
"datasource": {
330330
"type": "prometheus",
331-
"uid": "prometheus"
331+
"uid": "Prometheus"
332332
},
333333
"disableTextWrap": false,
334334
"editorMode": "builder",
@@ -349,7 +349,7 @@ cat > /tmp/dashboard.json <<EOF
349349
{
350350
"datasource": {
351351
"type": "prometheus",
352-
"uid": "prometheus"
352+
"uid": "Prometheus"
353353
},
354354
"description": "Error counts/rate for the AI model requests",
355355
"fieldConfig": {
@@ -406,7 +406,7 @@ cat > /tmp/dashboard.json <<EOF
406406
{
407407
"datasource": {
408408
"type": "prometheus",
409-
"uid": "prometheus"
409+
"uid": "Prometheus"
410410
},
411411
"disableTextWrap": false,
412412
"editorMode": "builder",
@@ -426,7 +426,7 @@ cat > /tmp/dashboard.json <<EOF
426426
{
427427
"datasource": {
428428
"type": "prometheus",
429-
"uid": "prometheus"
429+
"uid": "Prometheus"
430430
},
431431
"fieldConfig": {
432432
"defaults": {
@@ -481,7 +481,7 @@ cat > /tmp/dashboard.json <<EOF
481481
{
482482
"datasource": {
483483
"type": "prometheus",
484-
"uid": "prometheus"
484+
"uid": "Prometheus"
485485
},
486486
"disableTextWrap": false,
487487
"editorMode": "builder",
@@ -502,7 +502,7 @@ cat > /tmp/dashboard.json <<EOF
502502
{
503503
"datasource": {
504504
"type": "prometheus",
505-
"uid": "prometheus"
505+
"uid": "Prometheus"
506506
},
507507
"fieldConfig": {
508508
"defaults": {
@@ -584,7 +584,7 @@ cat > /tmp/dashboard.json <<EOF
584584
{
585585
"datasource": {
586586
"type": "prometheus",
587-
"uid": "prometheus"
587+
"uid": "Prometheus"
588588
},
589589
"disableTextWrap": false,
590590
"editorMode": "builder",
@@ -600,7 +600,7 @@ cat > /tmp/dashboard.json <<EOF
600600
{
601601
"datasource": {
602602
"type": "prometheus",
603-
"uid": "prometheus"
603+
"uid": "Prometheus"
604604
},
605605
"disableTextWrap": false,
606606
"editorMode": "builder",
@@ -621,7 +621,7 @@ cat > /tmp/dashboard.json <<EOF
621621
{
622622
"datasource": {
623623
"type": "prometheus",
624-
"uid": "prometheus"
624+
"uid": "Prometheus"
625625
},
626626
"fieldConfig": {
627627
"defaults": {
@@ -702,7 +702,7 @@ cat > /tmp/dashboard.json <<EOF
702702
{
703703
"datasource": {
704704
"type": "prometheus",
705-
"uid": "prometheus"
705+
"uid": "Prometheus"
706706
},
707707
"disableTextWrap": false,
708708
"editorMode": "builder",
@@ -722,7 +722,7 @@ cat > /tmp/dashboard.json <<EOF
722722
{
723723
"datasource": {
724724
"type": "prometheus",
725-
"uid": "prometheus"
725+
"uid": "Prometheus"
726726
},
727727
"fieldConfig": {
728728
"defaults": {
@@ -802,7 +802,7 @@ cat > /tmp/dashboard.json <<EOF
802802
{
803803
"datasource": {
804804
"type": "prometheus",
805-
"uid": "prometheus"
805+
"uid": "Prometheus"
806806
},
807807
"disableTextWrap": false,
808808
"editorMode": "builder",
@@ -822,7 +822,7 @@ cat > /tmp/dashboard.json <<EOF
822822
{
823823
"datasource": {
824824
"type": "prometheus",
825-
"uid": "prometheus"
825+
"uid": "Prometheus"
826826
},
827827
"fieldConfig": {
828828
"defaults": {
@@ -904,7 +904,7 @@ cat > /tmp/dashboard.json <<EOF
904904
{
905905
"datasource": {
906906
"type": "prometheus",
907-
"uid": "prometheus"
907+
"uid": "Prometheus"
908908
},
909909
"disableTextWrap": false,
910910
"editorMode": "builder",
@@ -920,7 +920,7 @@ cat > /tmp/dashboard.json <<EOF
920920
{
921921
"datasource": {
922922
"type": "prometheus",
923-
"uid": "prometheus"
923+
"uid": "Prometheus"
924924
},
925925
"disableTextWrap": false,
926926
"editorMode": "builder",
@@ -941,7 +941,7 @@ cat > /tmp/dashboard.json <<EOF
941941
{
942942
"datasource": {
943943
"type": "prometheus",
944-
"uid": "prometheus"
944+
"uid": "Prometheus"
945945
},
946946
"fieldConfig": {
947947
"defaults": {
@@ -1021,7 +1021,7 @@ cat > /tmp/dashboard.json <<EOF
10211021
{
10221022
"datasource": {
10231023
"type": "prometheus",
1024-
"uid": "prometheus"
1024+
"uid": "Prometheus"
10251025
},
10261026
"disableTextWrap": false,
10271027
"editorMode": "builder",
@@ -1041,7 +1041,7 @@ cat > /tmp/dashboard.json <<EOF
10411041
{
10421042
"datasource": {
10431043
"type": "prometheus",
1044-
"uid": "prometheus"
1044+
"uid": "Prometheus"
10451045
},
10461046
"fieldConfig": {
10471047
"defaults": {
@@ -1123,7 +1123,7 @@ cat > /tmp/dashboard.json <<EOF
11231123
{
11241124
"datasource": {
11251125
"type": "prometheus",
1126-
"uid": "prometheus"
1126+
"uid": "Prometheus"
11271127
},
11281128
"disableTextWrap": false,
11291129
"editorMode": "builder",
@@ -1139,7 +1139,7 @@ cat > /tmp/dashboard.json <<EOF
11391139
{
11401140
"datasource": {
11411141
"type": "prometheus",
1142-
"uid": "prometheus"
1142+
"uid": "Prometheus"
11431143
},
11441144
"disableTextWrap": false,
11451145
"editorMode": "builder",
@@ -1171,7 +1171,7 @@ cat > /tmp/dashboard.json <<EOF
11711171
},
11721172
"datasource": {
11731173
"type": "prometheus",
1174-
"uid": "prometheus"
1174+
"uid": "Prometheus"
11751175
},
11761176
"definition": "label_values(application)",
11771177
"hide": 0,

0 commit comments

Comments
 (0)