Skip to content

Commit dd5c22a

Browse files
authoredSep 1, 2022
feat: unify grafana dashboard datasource by use of a variable and add new karpenter 0.15.0 consolidation graphs (#2276)
1 parent 74707c5 commit dd5c22a

File tree

2 files changed

+385
-69
lines changed

2 files changed

+385
-69
lines changed
 

‎website/content/en/preview/getting-started/getting-started-with-eksctl/karpenter-capacity-dashboard.json

+343-41
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"list": [
44
{
55
"builtIn": 1,
6-
"datasource": {
7-
"type": "grafana",
8-
"uid": "-- Grafana --"
9-
},
6+
"datasource": "-- Grafana --",
107
"enable": true,
118
"hide": true,
129
"iconColor": "rgba(0, 211, 255, 1)",
@@ -23,16 +20,303 @@
2320
},
2421
"editable": true,
2522
"fiscalYearStartMonth": 0,
26-
"graphTooltip": 0,
23+
"graphTooltip": 2,
2724
"id": 6,
28-
"iteration": 1658858252847,
2925
"links": [],
3026
"liveNow": true,
3127
"panels": [
3228
{
3329
"datasource": {
3430
"type": "prometheus",
35-
"uid": "PBFA97CFB590B2093"
31+
"uid": "${datasource}"
32+
},
33+
"description": "",
34+
"fieldConfig": {
35+
"defaults": {
36+
"color": {
37+
"mode": "palette-classic"
38+
},
39+
"custom": {
40+
"axisLabel": "",
41+
"axisPlacement": "auto",
42+
"barAlignment": 0,
43+
"drawStyle": "line",
44+
"fillOpacity": 10,
45+
"gradientMode": "none",
46+
"hideFrom": {
47+
"legend": false,
48+
"tooltip": false,
49+
"viz": false
50+
},
51+
"lineInterpolation": "linear",
52+
"lineWidth": 1,
53+
"pointSize": 5,
54+
"scaleDistribution": {
55+
"type": "linear"
56+
},
57+
"showPoints": "auto",
58+
"spanNulls": false,
59+
"stacking": {
60+
"group": "A",
61+
"mode": "none"
62+
},
63+
"thresholdsStyle": {
64+
"mode": "off"
65+
}
66+
},
67+
"mappings": [],
68+
"min": 0,
69+
"thresholds": {
70+
"mode": "absolute",
71+
"steps": [
72+
{
73+
"color": "green",
74+
"value": null
75+
},
76+
{
77+
"color": "red",
78+
"value": 80
79+
}
80+
]
81+
},
82+
"unit": "none"
83+
},
84+
"overrides": []
85+
},
86+
"gridPos": {
87+
"h": 5,
88+
"w": 24,
89+
"x": 0,
90+
"y": 0
91+
},
92+
"id": 13,
93+
"options": {
94+
"legend": {
95+
"calcs": [
96+
"lastNotNull"
97+
],
98+
"displayMode": "table",
99+
"placement": "right"
100+
},
101+
"tooltip": {
102+
"mode": "multi",
103+
"sort": "none"
104+
}
105+
},
106+
"pluginVersion": "9.0.5",
107+
"targets": [
108+
{
109+
"datasource": {
110+
"type": "prometheus",
111+
"uid": "${datasource}"
112+
},
113+
"editorMode": "builder",
114+
"exemplar": false,
115+
"expr": "sum by(action, cluster) (karpenter_consolidation_actions_performed)",
116+
"format": "time_series",
117+
"instant": false,
118+
"legendFormat": "{{cluster}}: {{action}}",
119+
"range": true,
120+
"refId": "A"
121+
}
122+
],
123+
"title": "Consolidation Actions Performed",
124+
"type": "timeseries"
125+
},
126+
{
127+
"datasource": {
128+
"type": "prometheus",
129+
"uid": "${datasource}"
130+
},
131+
"description": "",
132+
"fieldConfig": {
133+
"defaults": {
134+
"color": {
135+
"mode": "palette-classic"
136+
},
137+
"custom": {
138+
"axisLabel": "",
139+
"axisPlacement": "auto",
140+
"barAlignment": 0,
141+
"drawStyle": "line",
142+
"fillOpacity": 10,
143+
"gradientMode": "none",
144+
"hideFrom": {
145+
"legend": false,
146+
"tooltip": false,
147+
"viz": false
148+
},
149+
"lineInterpolation": "linear",
150+
"lineWidth": 1,
151+
"pointSize": 5,
152+
"scaleDistribution": {
153+
"type": "linear"
154+
},
155+
"showPoints": "auto",
156+
"spanNulls": false,
157+
"stacking": {
158+
"group": "A",
159+
"mode": "none"
160+
},
161+
"thresholdsStyle": {
162+
"mode": "off"
163+
}
164+
},
165+
"mappings": [],
166+
"min": 0,
167+
"thresholds": {
168+
"mode": "absolute",
169+
"steps": [
170+
{
171+
"color": "green",
172+
"value": null
173+
},
174+
{
175+
"color": "red",
176+
"value": 80
177+
}
178+
]
179+
},
180+
"unit": "none"
181+
},
182+
"overrides": []
183+
},
184+
"gridPos": {
185+
"h": 5,
186+
"w": 24,
187+
"x": 0,
188+
"y": 5
189+
},
190+
"id": 14,
191+
"options": {
192+
"legend": {
193+
"calcs": [
194+
"lastNotNull"
195+
],
196+
"displayMode": "table",
197+
"placement": "right"
198+
},
199+
"tooltip": {
200+
"mode": "single",
201+
"sort": "none"
202+
}
203+
},
204+
"targets": [
205+
{
206+
"datasource": {
207+
"type": "prometheus",
208+
"uid": "${datasource}"
209+
},
210+
"editorMode": "builder",
211+
"expr": "sum by(cluster) (karpenter_consolidation_nodes_created)",
212+
"format": "time_series",
213+
"legendFormat": "{{cluster}}",
214+
"range": true,
215+
"refId": "A"
216+
}
217+
],
218+
"title": "Consolidation: Nodes Created",
219+
"type": "timeseries"
220+
},
221+
{
222+
"datasource": {
223+
"type": "prometheus",
224+
"uid": "${datasource}"
225+
},
226+
"description": "",
227+
"fieldConfig": {
228+
"defaults": {
229+
"color": {
230+
"mode": "palette-classic"
231+
},
232+
"custom": {
233+
"axisLabel": "",
234+
"axisPlacement": "auto",
235+
"barAlignment": 0,
236+
"drawStyle": "line",
237+
"fillOpacity": 10,
238+
"gradientMode": "none",
239+
"hideFrom": {
240+
"legend": false,
241+
"tooltip": false,
242+
"viz": false
243+
},
244+
"lineInterpolation": "linear",
245+
"lineWidth": 1,
246+
"pointSize": 5,
247+
"scaleDistribution": {
248+
"type": "linear"
249+
},
250+
"showPoints": "auto",
251+
"spanNulls": false,
252+
"stacking": {
253+
"group": "A",
254+
"mode": "none"
255+
},
256+
"thresholdsStyle": {
257+
"mode": "off"
258+
}
259+
},
260+
"mappings": [],
261+
"min": 0,
262+
"thresholds": {
263+
"mode": "absolute",
264+
"steps": [
265+
{
266+
"color": "green",
267+
"value": null
268+
},
269+
{
270+
"color": "red",
271+
"value": 80
272+
}
273+
]
274+
},
275+
"unit": "none"
276+
},
277+
"overrides": []
278+
},
279+
"gridPos": {
280+
"h": 5,
281+
"w": 24,
282+
"x": 0,
283+
"y": 10
284+
},
285+
"id": 15,
286+
"options": {
287+
"legend": {
288+
"calcs": [
289+
"lastNotNull"
290+
],
291+
"displayMode": "table",
292+
"placement": "right"
293+
},
294+
"tooltip": {
295+
"mode": "single",
296+
"sort": "none"
297+
}
298+
},
299+
"targets": [
300+
{
301+
"datasource": {
302+
"type": "prometheus",
303+
"uid": "${datasource}"
304+
},
305+
"editorMode": "builder",
306+
"expr": "sum by(cluster) (karpenter_consolidation_nodes_terminated)",
307+
"format": "time_series",
308+
"legendFormat": "{{cluster}}",
309+
"range": true,
310+
"refId": "A"
311+
}
312+
],
313+
"title": "Consolidation: Nodes Terminated",
314+
"type": "timeseries"
315+
},
316+
{
317+
"datasource": {
318+
"type": "prometheus",
319+
"uid": "${datasource}"
36320
},
37321
"fieldConfig": {
38322
"defaults": {
@@ -85,10 +369,10 @@
85369
"overrides": []
86370
},
87371
"gridPos": {
88-
"h": 10,
89-
"w": 12,
372+
"h": 6,
373+
"w": 24,
90374
"x": 0,
91-
"y": 0
375+
"y": 15
92376
},
93377
"id": 12,
94378
"options": {
@@ -108,7 +392,7 @@
108392
{
109393
"datasource": {
110394
"type": "prometheus",
111-
"uid": "PBFA97CFB590B2093"
395+
"uid": "${datasource}"
112396
},
113397
"editorMode": "code",
114398
"expr": "sum by(phase)(karpenter_pods_state)",
@@ -123,7 +407,7 @@
123407
{
124408
"datasource": {
125409
"type": "prometheus",
126-
"uid": "PBFA97CFB590B2093"
410+
"uid": "${datasource}"
127411
},
128412
"fieldConfig": {
129413
"defaults": {
@@ -176,10 +460,10 @@
176460
"overrides": []
177461
},
178462
"gridPos": {
179-
"h": 10,
180-
"w": 12,
181-
"x": 12,
182-
"y": 0
463+
"h": 8,
464+
"w": 24,
465+
"x": 0,
466+
"y": 21
183467
},
184468
"id": 6,
185469
"options": {
@@ -197,7 +481,7 @@
197481
{
198482
"datasource": {
199483
"type": "prometheus",
200-
"uid": "PBFA97CFB590B2093"
484+
"uid": "${datasource}"
201485
},
202486
"editorMode": "code",
203487
"expr": "sum by ($distribution_filter)(\n karpenter_pods_state{arch=~\"$arch\", capacity_type=~\"$capacity_type\", instance_type=~\"$instance_type\", provisioner=~\"$provisioner\"}\n)",
@@ -212,7 +496,7 @@
212496
{
213497
"datasource": {
214498
"type": "prometheus",
215-
"uid": "PBFA97CFB590B2093"
499+
"uid": "${datasource}"
216500
},
217501
"fieldConfig": {
218502
"defaults": {
@@ -282,7 +566,7 @@
282566
"h": 11,
283567
"w": 18,
284568
"x": 0,
285-
"y": 10
569+
"y": 29
286570
},
287571
"id": 10,
288572
"options": {
@@ -295,12 +579,12 @@
295579
},
296580
"showHeader": true
297581
},
298-
"pluginVersion": "9.0.1",
582+
"pluginVersion": "9.0.5",
299583
"targets": [
300584
{
301585
"datasource": {
302586
"type": "prometheus",
303-
"uid": "PBFA97CFB590B2093"
587+
"uid": "${datasource}"
304588
},
305589
"editorMode": "code",
306590
"exemplar": false,
@@ -314,7 +598,7 @@
314598
{
315599
"datasource": {
316600
"type": "prometheus",
317-
"uid": "PBFA97CFB590B2093"
601+
"uid": "${datasource}"
318602
},
319603
"editorMode": "code",
320604
"exemplar": false,
@@ -328,7 +612,7 @@
328612
{
329613
"datasource": {
330614
"type": "prometheus",
331-
"uid": "PBFA97CFB590B2093"
615+
"uid": "${datasource}"
332616
},
333617
"editorMode": "code",
334618
"exemplar": false,
@@ -343,7 +627,7 @@
343627
{
344628
"datasource": {
345629
"type": "prometheus",
346-
"uid": "PBFA97CFB590B2093"
630+
"uid": "${datasource}"
347631
},
348632
"editorMode": "code",
349633
"exemplar": false,
@@ -357,7 +641,7 @@
357641
{
358642
"datasource": {
359643
"type": "prometheus",
360-
"uid": "PBFA97CFB590B2093"
644+
"uid": "${datasource}"
361645
},
362646
"editorMode": "code",
363647
"exemplar": false,
@@ -440,7 +724,7 @@
440724
{
441725
"datasource": {
442726
"type": "prometheus",
443-
"uid": "PBFA97CFB590B2093"
727+
"uid": "${datasource}"
444728
},
445729
"fieldConfig": {
446730
"defaults": {
@@ -499,7 +783,7 @@
499783
"h": 11,
500784
"w": 6,
501785
"x": 18,
502-
"y": 10
786+
"y": 29
503787
},
504788
"id": 8,
505789
"options": {
@@ -517,7 +801,7 @@
517801
{
518802
"datasource": {
519803
"type": "prometheus",
520-
"uid": "PBFA97CFB590B2093"
804+
"uid": "${datasource}"
521805
},
522806
"editorMode": "code",
523807
"expr": "(count(karpenter_nodes_allocatable{arch=~\"$arch\",capacity_type=\"spot\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"}) or vector(0)) / count(karpenter_nodes_allocatable{arch=~\"$arch\",instance_type=~\"$instance_type\",provisioner=~\"$provisioner\",zone=~\"$zone\"})",
@@ -532,7 +816,7 @@
532816
{
533817
"datasource": {
534818
"type": "prometheus",
535-
"uid": "PBFA97CFB590B2093"
819+
"uid": "${datasource}"
536820
},
537821
"fieldConfig": {
538822
"defaults": {
@@ -634,7 +918,7 @@
634918
"h": 9,
635919
"w": 24,
636920
"x": 0,
637-
"y": 21
921+
"y": 40
638922
},
639923
"id": 4,
640924
"options": {
@@ -653,12 +937,12 @@
653937
}
654938
]
655939
},
656-
"pluginVersion": "9.0.1",
940+
"pluginVersion": "9.0.5",
657941
"targets": [
658942
{
659943
"datasource": {
660944
"type": "prometheus",
661-
"uid": "PBFA97CFB590B2093"
945+
"uid": "${datasource}"
662946
},
663947
"editorMode": "code",
664948
"exemplar": false,
@@ -673,7 +957,7 @@
673957
{
674958
"datasource": {
675959
"type": "prometheus",
676-
"uid": "PBFA97CFB590B2093"
960+
"uid": "${datasource}"
677961
},
678962
"editorMode": "code",
679963
"exemplar": false,
@@ -688,7 +972,7 @@
688972
{
689973
"datasource": {
690974
"type": "prometheus",
691-
"uid": "PBFA97CFB590B2093"
975+
"uid": "${datasource}"
692976
},
693977
"editorMode": "code",
694978
"exemplar": false,
@@ -703,7 +987,7 @@
703987
{
704988
"datasource": {
705989
"type": "prometheus",
706-
"uid": "PBFA97CFB590B2093"
990+
"uid": "${datasource}"
707991
},
708992
"editorMode": "code",
709993
"exemplar": false,
@@ -933,7 +1217,7 @@
9331217
},
9341218
"datasource": {
9351219
"type": "prometheus",
936-
"uid": "PBFA97CFB590B2093"
1220+
"uid": "${datasource}"
9371221
},
9381222
"definition": "label_values(karpenter_nodes_allocatable, provisioner)",
9391223
"hide": 0,
@@ -963,7 +1247,7 @@
9631247
},
9641248
"datasource": {
9651249
"type": "prometheus",
966-
"uid": "PBFA97CFB590B2093"
1250+
"uid": "${datasource}"
9671251
},
9681252
"definition": "label_values(karpenter_nodes_allocatable, zone)",
9691253
"hide": 0,
@@ -993,7 +1277,7 @@
9931277
},
9941278
"datasource": {
9951279
"type": "prometheus",
996-
"uid": "PBFA97CFB590B2093"
1280+
"uid": "${datasource}"
9971281
},
9981282
"definition": "label_values(karpenter_nodes_allocatable, arch)",
9991283
"hide": 0,
@@ -1023,7 +1307,7 @@
10231307
},
10241308
"datasource": {
10251309
"type": "prometheus",
1026-
"uid": "PBFA97CFB590B2093"
1310+
"uid": "${datasource}"
10271311
},
10281312
"definition": "label_values(karpenter_nodes_allocatable, capacity_type)",
10291313
"hide": 0,
@@ -1053,7 +1337,7 @@
10531337
},
10541338
"datasource": {
10551339
"type": "prometheus",
1056-
"uid": "PBFA97CFB590B2093"
1340+
"uid": "${datasource}"
10571341
},
10581342
"definition": "label_values(karpenter_nodes_allocatable, instance_type)",
10591343
"hide": 0,
@@ -1122,6 +1406,24 @@
11221406
"queryValue": "",
11231407
"skipUrlSync": false,
11241408
"type": "custom"
1409+
},
1410+
{
1411+
"current": {
1412+
"selected": false,
1413+
"text": "Prometheus",
1414+
"value": "Prometheus"
1415+
},
1416+
"hide": 2,
1417+
"includeAll": false,
1418+
"label": "Data Source",
1419+
"multi": false,
1420+
"name": "datasource",
1421+
"options": [],
1422+
"query": "prometheus",
1423+
"refresh": 1,
1424+
"regex": "",
1425+
"skipUrlSync": false,
1426+
"type": "datasource"
11251427
}
11261428
]
11271429
},
@@ -1133,6 +1435,6 @@
11331435
"timezone": "",
11341436
"title": "Karpenter Capacity",
11351437
"uid": "ta8I9Q67z",
1136-
"version": 2,
1438+
"version": 4,
11371439
"weekStart": ""
11381440
}

‎website/content/en/preview/getting-started/getting-started-with-eksctl/karpenter-performance-dashboard.json

+42-28
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"list": [
44
{
55
"builtIn": 1,
6-
"datasource": {
7-
"type": "grafana",
8-
"uid": "-- Grafana --"
9-
},
6+
"datasource": "-- Grafana --",
107
"enable": true,
118
"hide": true,
129
"iconColor": "rgba(0, 211, 255, 1)",
@@ -25,14 +22,13 @@
2522
"fiscalYearStartMonth": 0,
2623
"graphTooltip": 0,
2724
"id": 7,
28-
"iteration": 1659113139050,
2925
"links": [],
3026
"liveNow": true,
3127
"panels": [
3228
{
3329
"datasource": {
3430
"type": "prometheus",
35-
"uid": "PBFA97CFB590B2093"
31+
"uid": "${datasource}"
3632
},
3733
"fieldConfig": {
3834
"defaults": {
@@ -107,7 +103,7 @@
107103
{
108104
"datasource": {
109105
"type": "prometheus",
110-
"uid": "PBFA97CFB590B2093"
106+
"uid": "${datasource}"
111107
},
112108
"editorMode": "code",
113109
"expr": "karpenter_nodes_termination_time_seconds{quantile=\"0\"}",
@@ -118,7 +114,7 @@
118114
{
119115
"datasource": {
120116
"type": "prometheus",
121-
"uid": "PBFA97CFB590B2093"
117+
"uid": "${datasource}"
122118
},
123119
"editorMode": "code",
124120
"expr": "karpenter_nodes_termination_time_seconds{quantile=\"0.5\"}",
@@ -130,7 +126,7 @@
130126
{
131127
"datasource": {
132128
"type": "prometheus",
133-
"uid": "PBFA97CFB590B2093"
129+
"uid": "${datasource}"
134130
},
135131
"editorMode": "code",
136132
"expr": "karpenter_nodes_termination_time_seconds{quantile=\"0.9\"}",
@@ -142,7 +138,7 @@
142138
{
143139
"datasource": {
144140
"type": "prometheus",
145-
"uid": "PBFA97CFB590B2093"
141+
"uid": "${datasource}"
146142
},
147143
"editorMode": "code",
148144
"expr": "karpenter_nodes_termination_time_seconds{quantile=\"0.99\"}",
@@ -154,7 +150,7 @@
154150
{
155151
"datasource": {
156152
"type": "prometheus",
157-
"uid": "PBFA97CFB590B2093"
153+
"uid": "${datasource}"
158154
},
159155
"editorMode": "code",
160156
"expr": "karpenter_nodes_termination_time_seconds{quantile=\"1\"}",
@@ -170,7 +166,7 @@
170166
{
171167
"datasource": {
172168
"type": "prometheus",
173-
"uid": "PBFA97CFB590B2093"
169+
"uid": "${datasource}"
174170
},
175171
"fieldConfig": {
176172
"defaults": {
@@ -246,7 +242,7 @@
246242
{
247243
"datasource": {
248244
"type": "prometheus",
249-
"uid": "PBFA97CFB590B2093"
245+
"uid": "${datasource}"
250246
},
251247
"editorMode": "code",
252248
"expr": "karpenter_pods_startup_time_seconds{quantile=\"0\"}",
@@ -258,7 +254,7 @@
258254
{
259255
"datasource": {
260256
"type": "prometheus",
261-
"uid": "PBFA97CFB590B2093"
257+
"uid": "${datasource}"
262258
},
263259
"editorMode": "code",
264260
"expr": "karpenter_pods_startup_time_seconds{quantile=\"0.5\"}",
@@ -270,7 +266,7 @@
270266
{
271267
"datasource": {
272268
"type": "prometheus",
273-
"uid": "PBFA97CFB590B2093"
269+
"uid": "${datasource}"
274270
},
275271
"editorMode": "code",
276272
"expr": "karpenter_pods_startup_time_seconds{quantile=\"0.9\"}",
@@ -282,7 +278,7 @@
282278
{
283279
"datasource": {
284280
"type": "prometheus",
285-
"uid": "PBFA97CFB590B2093"
281+
"uid": "${datasource}"
286282
},
287283
"editorMode": "code",
288284
"expr": "karpenter_pods_startup_time_seconds{quantile=\"0.99\"}",
@@ -294,7 +290,7 @@
294290
{
295291
"datasource": {
296292
"type": "prometheus",
297-
"uid": "PBFA97CFB590B2093"
293+
"uid": "${datasource}"
298294
},
299295
"editorMode": "code",
300296
"expr": "karpenter_pods_startup_time_seconds{quantile=\"1\"}",
@@ -310,7 +306,7 @@
310306
{
311307
"datasource": {
312308
"type": "prometheus",
313-
"uid": "PBFA97CFB590B2093"
309+
"uid": "${datasource}"
314310
},
315311
"fieldConfig": {
316312
"defaults": {
@@ -385,7 +381,7 @@
385381
{
386382
"datasource": {
387383
"type": "prometheus",
388-
"uid": "PBFA97CFB590B2093"
384+
"uid": "${datasource}"
389385
},
390386
"editorMode": "code",
391387
"expr": "histogram_quantile(0, rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"$controller\"}[10m]))",
@@ -397,7 +393,7 @@
397393
{
398394
"datasource": {
399395
"type": "prometheus",
400-
"uid": "PBFA97CFB590B2093"
396+
"uid": "${datasource}"
401397
},
402398
"editorMode": "code",
403399
"expr": "histogram_quantile(0.5, rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"$controller\"}[10m]))",
@@ -408,7 +404,7 @@
408404
{
409405
"datasource": {
410406
"type": "prometheus",
411-
"uid": "PBFA97CFB590B2093"
407+
"uid": "${datasource}"
412408
},
413409
"editorMode": "code",
414410
"expr": "histogram_quantile(0.9, rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"$controller\"}[10m]))",
@@ -420,7 +416,7 @@
420416
{
421417
"datasource": {
422418
"type": "prometheus",
423-
"uid": "PBFA97CFB590B2093"
419+
"uid": "${datasource}"
424420
},
425421
"editorMode": "code",
426422
"expr": "histogram_quantile(0.99, rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"$controller\"}[10m]))",
@@ -432,7 +428,7 @@
432428
{
433429
"datasource": {
434430
"type": "prometheus",
435-
"uid": "PBFA97CFB590B2093"
431+
"uid": "${datasource}"
436432
},
437433
"editorMode": "code",
438434
"expr": "histogram_quantile(1, rate(controller_runtime_reconcile_time_seconds_bucket{controller=\"$controller\"}[10m]))",
@@ -448,7 +444,7 @@
448444
{
449445
"datasource": {
450446
"type": "prometheus",
451-
"uid": "PBFA97CFB590B2093"
447+
"uid": "${datasource}"
452448
},
453449
"fieldConfig": {
454450
"defaults": {
@@ -494,12 +490,12 @@
494490
},
495491
"showUnfilled": true
496492
},
497-
"pluginVersion": "9.0.1",
493+
"pluginVersion": "9.0.5",
498494
"targets": [
499495
{
500496
"datasource": {
501497
"type": "prometheus",
502-
"uid": "PBFA97CFB590B2093"
498+
"uid": "${datasource}"
503499
},
504500
"editorMode": "code",
505501
"expr": "sum(rate(controller_runtime_reconcile_total[10m])) by (controller)",
@@ -526,7 +522,7 @@
526522
},
527523
"datasource": {
528524
"type": "prometheus",
529-
"uid": "PBFA97CFB590B2093"
525+
"uid": "${datasource}"
530526
},
531527
"definition": "label_values(controller_runtime_reconcile_time_seconds_count, controller)",
532528
"hide": 0,
@@ -543,6 +539,24 @@
543539
"skipUrlSync": false,
544540
"sort": 0,
545541
"type": "query"
542+
},
543+
{
544+
"current": {
545+
"selected": false,
546+
"text": "Prometheus",
547+
"value": "Prometheus"
548+
},
549+
"hide": 2,
550+
"includeAll": false,
551+
"label": "Data Source",
552+
"multi": false,
553+
"name": "datasource",
554+
"options": [],
555+
"query": "prometheus",
556+
"refresh": 1,
557+
"regex": "",
558+
"skipUrlSync": false,
559+
"type": "datasource"
546560
}
547561
]
548562
},
@@ -554,6 +568,6 @@
554568
"timezone": "",
555569
"title": "Karpenter Performance",
556570
"uid": "_bdgC2g4z",
557-
"version": 2,
571+
"version": 3,
558572
"weekStart": ""
559573
}

0 commit comments

Comments
 (0)
Please sign in to comment.