Skip to content

Commit f721925

Browse files
authored
Change static uid to for global ratelimit dashboard (#6193)
Signed-off-by: Emin Aktas <[email protected]>
1 parent 33c3d38 commit f721925

File tree

3 files changed

+39
-39
lines changed

3 files changed

+39
-39
lines changed

charts/gateway-addons-helm/dashboards/global-ratelimit.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{
3939
"datasource": {
4040
"type": "prometheus",
41-
"uid": "PBFA97CFB590B2093"
41+
"uid": "$datasource"
4242
},
4343
"description": "The fraction of this program's available CPU time used by the GC since the program started.",
4444
"fieldConfig": {
@@ -122,7 +122,7 @@
122122
{
123123
"datasource": {
124124
"type": "prometheus",
125-
"uid": "PBFA97CFB590B2093"
125+
"uid": "$datasource"
126126
},
127127
"disableTextWrap": false,
128128
"editorMode": "code",
@@ -145,7 +145,7 @@
145145
{
146146
"datasource": {
147147
"type": "prometheus",
148-
"uid": "PBFA97CFB590B2093"
148+
"uid": "$datasource"
149149
},
150150
"description": "Resident memory size",
151151
"fieldConfig": {
@@ -194,7 +194,7 @@
194194
{
195195
"datasource": {
196196
"type": "prometheus",
197-
"uid": "PBFA97CFB590B2093"
197+
"uid": "$datasource"
198198
},
199199
"disableTextWrap": false,
200200
"editorMode": "code",
@@ -216,7 +216,7 @@
216216
{
217217
"datasource": {
218218
"type": "prometheus",
219-
"uid": "PBFA97CFB590B2093"
219+
"uid": "$datasource"
220220
},
221221
"description": "Virtual memory size",
222222
"fieldConfig": {
@@ -266,7 +266,7 @@
266266
{
267267
"datasource": {
268268
"type": "prometheus",
269-
"uid": "PBFA97CFB590B2093"
269+
"uid": "$datasource"
270270
},
271271
"disableTextWrap": false,
272272
"editorMode": "code",
@@ -288,7 +288,7 @@
288288
{
289289
"datasource": {
290290
"type": "prometheus",
291-
"uid": "PBFA97CFB590B2093"
291+
"uid": "$datasource"
292292
},
293293
"description": "Number of ratelimit rule hits in total",
294294
"fieldConfig": {
@@ -341,7 +341,7 @@
341341
{
342342
"datasource": {
343343
"type": "prometheus",
344-
"uid": "PBFA97CFB590B2093"
344+
"uid": "$datasource"
345345
},
346346
"disableTextWrap": false,
347347
"editorMode": "builder",
@@ -363,7 +363,7 @@
363363
{
364364
"datasource": {
365365
"type": "prometheus",
366-
"uid": "PBFA97CFB590B2093"
366+
"uid": "$datasource"
367367
},
368368
"description": "Number of rule hits over the NearLimit ratio threshold (currently 80%) but under the threshold rate.",
369369
"fieldConfig": {
@@ -416,7 +416,7 @@
416416
{
417417
"datasource": {
418418
"type": "prometheus",
419-
"uid": "PBFA97CFB590B2093"
419+
"uid": "$datasource"
420420
},
421421
"disableTextWrap": false,
422422
"editorMode": "builder",
@@ -438,7 +438,7 @@
438438
{
439439
"datasource": {
440440
"type": "prometheus",
441-
"uid": "PBFA97CFB590B2093"
441+
"uid": "$datasource"
442442
},
443443
"description": "Number of rule hits exceeding the threshold rate",
444444
"fieldConfig": {
@@ -491,7 +491,7 @@
491491
{
492492
"datasource": {
493493
"type": "prometheus",
494-
"uid": "PBFA97CFB590B2093"
494+
"uid": "$datasource"
495495
},
496496
"disableTextWrap": false,
497497
"editorMode": "builder",
@@ -522,7 +522,7 @@
522522
"current": {
523523
"selected": false,
524524
"text": "Prometheus",
525-
"value": "PBFA97CFB590B2093"
525+
"value": "$datasource"
526526
},
527527
"hide": 0,
528528
"includeAll": false,

test/helm/gateway-addons-helm/default.out.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8494,7 +8494,7 @@ data:
84948494
{
84958495
"datasource": {
84968496
"type": "prometheus",
8497-
"uid": "PBFA97CFB590B2093"
8497+
"uid": "$datasource"
84988498
},
84998499
"description": "The fraction of this program's available CPU time used by the GC since the program started.",
85008500
"fieldConfig": {
@@ -8578,7 +8578,7 @@ data:
85788578
{
85798579
"datasource": {
85808580
"type": "prometheus",
8581-
"uid": "PBFA97CFB590B2093"
8581+
"uid": "$datasource"
85828582
},
85838583
"disableTextWrap": false,
85848584
"editorMode": "code",
@@ -8601,7 +8601,7 @@ data:
86018601
{
86028602
"datasource": {
86038603
"type": "prometheus",
8604-
"uid": "PBFA97CFB590B2093"
8604+
"uid": "$datasource"
86058605
},
86068606
"description": "Resident memory size",
86078607
"fieldConfig": {
@@ -8650,7 +8650,7 @@ data:
86508650
{
86518651
"datasource": {
86528652
"type": "prometheus",
8653-
"uid": "PBFA97CFB590B2093"
8653+
"uid": "$datasource"
86548654
},
86558655
"disableTextWrap": false,
86568656
"editorMode": "code",
@@ -8672,7 +8672,7 @@ data:
86728672
{
86738673
"datasource": {
86748674
"type": "prometheus",
8675-
"uid": "PBFA97CFB590B2093"
8675+
"uid": "$datasource"
86768676
},
86778677
"description": "Virtual memory size",
86788678
"fieldConfig": {
@@ -8722,7 +8722,7 @@ data:
87228722
{
87238723
"datasource": {
87248724
"type": "prometheus",
8725-
"uid": "PBFA97CFB590B2093"
8725+
"uid": "$datasource"
87268726
},
87278727
"disableTextWrap": false,
87288728
"editorMode": "code",
@@ -8744,7 +8744,7 @@ data:
87448744
{
87458745
"datasource": {
87468746
"type": "prometheus",
8747-
"uid": "PBFA97CFB590B2093"
8747+
"uid": "$datasource"
87488748
},
87498749
"description": "Number of ratelimit rule hits in total",
87508750
"fieldConfig": {
@@ -8797,7 +8797,7 @@ data:
87978797
{
87988798
"datasource": {
87998799
"type": "prometheus",
8800-
"uid": "PBFA97CFB590B2093"
8800+
"uid": "$datasource"
88018801
},
88028802
"disableTextWrap": false,
88038803
"editorMode": "builder",
@@ -8819,7 +8819,7 @@ data:
88198819
{
88208820
"datasource": {
88218821
"type": "prometheus",
8822-
"uid": "PBFA97CFB590B2093"
8822+
"uid": "$datasource"
88238823
},
88248824
"description": "Number of rule hits over the NearLimit ratio threshold (currently 80%) but under the threshold rate.",
88258825
"fieldConfig": {
@@ -8872,7 +8872,7 @@ data:
88728872
{
88738873
"datasource": {
88748874
"type": "prometheus",
8875-
"uid": "PBFA97CFB590B2093"
8875+
"uid": "$datasource"
88768876
},
88778877
"disableTextWrap": false,
88788878
"editorMode": "builder",
@@ -8894,7 +8894,7 @@ data:
88948894
{
88958895
"datasource": {
88968896
"type": "prometheus",
8897-
"uid": "PBFA97CFB590B2093"
8897+
"uid": "$datasource"
88988898
},
88998899
"description": "Number of rule hits exceeding the threshold rate",
89008900
"fieldConfig": {
@@ -8947,7 +8947,7 @@ data:
89478947
{
89488948
"datasource": {
89498949
"type": "prometheus",
8950-
"uid": "PBFA97CFB590B2093"
8950+
"uid": "$datasource"
89518951
},
89528952
"disableTextWrap": false,
89538953
"editorMode": "builder",
@@ -8978,7 +8978,7 @@ data:
89788978
"current": {
89798979
"selected": false,
89808980
"text": "Prometheus",
8981-
"value": "PBFA97CFB590B2093"
8981+
"value": "$datasource"
89828982
},
89838983
"hide": 0,
89848984
"includeAll": false,

test/helm/gateway-addons-helm/e2e.out.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8586,7 +8586,7 @@ data:
85868586
{
85878587
"datasource": {
85888588
"type": "prometheus",
8589-
"uid": "PBFA97CFB590B2093"
8589+
"uid": "$datasource"
85908590
},
85918591
"description": "The fraction of this program's available CPU time used by the GC since the program started.",
85928592
"fieldConfig": {
@@ -8670,7 +8670,7 @@ data:
86708670
{
86718671
"datasource": {
86728672
"type": "prometheus",
8673-
"uid": "PBFA97CFB590B2093"
8673+
"uid": "$datasource"
86748674
},
86758675
"disableTextWrap": false,
86768676
"editorMode": "code",
@@ -8693,7 +8693,7 @@ data:
86938693
{
86948694
"datasource": {
86958695
"type": "prometheus",
8696-
"uid": "PBFA97CFB590B2093"
8696+
"uid": "$datasource"
86978697
},
86988698
"description": "Resident memory size",
86998699
"fieldConfig": {
@@ -8742,7 +8742,7 @@ data:
87428742
{
87438743
"datasource": {
87448744
"type": "prometheus",
8745-
"uid": "PBFA97CFB590B2093"
8745+
"uid": "$datasource"
87468746
},
87478747
"disableTextWrap": false,
87488748
"editorMode": "code",
@@ -8764,7 +8764,7 @@ data:
87648764
{
87658765
"datasource": {
87668766
"type": "prometheus",
8767-
"uid": "PBFA97CFB590B2093"
8767+
"uid": "$datasource"
87688768
},
87698769
"description": "Virtual memory size",
87708770
"fieldConfig": {
@@ -8814,7 +8814,7 @@ data:
88148814
{
88158815
"datasource": {
88168816
"type": "prometheus",
8817-
"uid": "PBFA97CFB590B2093"
8817+
"uid": "$datasource"
88188818
},
88198819
"disableTextWrap": false,
88208820
"editorMode": "code",
@@ -8836,7 +8836,7 @@ data:
88368836
{
88378837
"datasource": {
88388838
"type": "prometheus",
8839-
"uid": "PBFA97CFB590B2093"
8839+
"uid": "$datasource"
88408840
},
88418841
"description": "Number of ratelimit rule hits in total",
88428842
"fieldConfig": {
@@ -8889,7 +8889,7 @@ data:
88898889
{
88908890
"datasource": {
88918891
"type": "prometheus",
8892-
"uid": "PBFA97CFB590B2093"
8892+
"uid": "$datasource"
88938893
},
88948894
"disableTextWrap": false,
88958895
"editorMode": "builder",
@@ -8911,7 +8911,7 @@ data:
89118911
{
89128912
"datasource": {
89138913
"type": "prometheus",
8914-
"uid": "PBFA97CFB590B2093"
8914+
"uid": "$datasource"
89158915
},
89168916
"description": "Number of rule hits over the NearLimit ratio threshold (currently 80%) but under the threshold rate.",
89178917
"fieldConfig": {
@@ -8964,7 +8964,7 @@ data:
89648964
{
89658965
"datasource": {
89668966
"type": "prometheus",
8967-
"uid": "PBFA97CFB590B2093"
8967+
"uid": "$datasource"
89688968
},
89698969
"disableTextWrap": false,
89708970
"editorMode": "builder",
@@ -8986,7 +8986,7 @@ data:
89868986
{
89878987
"datasource": {
89888988
"type": "prometheus",
8989-
"uid": "PBFA97CFB590B2093"
8989+
"uid": "$datasource"
89908990
},
89918991
"description": "Number of rule hits exceeding the threshold rate",
89928992
"fieldConfig": {
@@ -9039,7 +9039,7 @@ data:
90399039
{
90409040
"datasource": {
90419041
"type": "prometheus",
9042-
"uid": "PBFA97CFB590B2093"
9042+
"uid": "$datasource"
90439043
},
90449044
"disableTextWrap": false,
90459045
"editorMode": "builder",
@@ -9070,7 +9070,7 @@ data:
90709070
"current": {
90719071
"selected": false,
90729072
"text": "Prometheus",
9073-
"value": "PBFA97CFB590B2093"
9073+
"value": "$datasource"
90749074
},
90759075
"hide": 0,
90769076
"includeAll": false,

0 commit comments

Comments
 (0)