Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/IDE/dashboards/components/ide-startup-time.json
2501 views
1
{
2
"annotations": {
3
"list": [
4
{
5
"builtIn": 1,
6
"datasource": {
7
"type": "grafana",
8
"uid": "-- Grafana --"
9
},
10
"enable": true,
11
"hide": true,
12
"iconColor": "rgba(0, 211, 255, 1)",
13
"name": "Annotations & Alerts",
14
"target": {
15
"limit": 100,
16
"matchAny": false,
17
"tags": [],
18
"type": "dashboard"
19
},
20
"type": "dashboard"
21
}
22
]
23
},
24
"editable": true,
25
"fiscalYearStartMonth": 0,
26
"graphTooltip": 1,
27
"id": 85,
28
"links": [],
29
"liveNow": false,
30
"panels": [
31
{
32
"collapsed": false,
33
"datasource": {
34
"type": "datasource",
35
"uid": "grafana"
36
},
37
"gridPos": {
38
"h": 1,
39
"w": 24,
40
"x": 0,
41
"y": 0
42
},
43
"id": 14,
44
"panels": [],
45
"targets": [
46
{
47
"datasource": {
48
"type": "datasource",
49
"uid": "grafana"
50
},
51
"refId": "A"
52
}
53
],
54
"title": "IDE Startup time",
55
"type": "row"
56
},
57
{
58
"datasource": {
59
"type": "prometheus",
60
"uid": "${datasource}"
61
},
62
"fieldConfig": {
63
"defaults": {
64
"color": {
65
"mode": "palette-classic"
66
},
67
"custom": {
68
"axisCenteredZero": false,
69
"axisColorMode": "text",
70
"axisLabel": "",
71
"axisPlacement": "auto",
72
"barAlignment": 0,
73
"drawStyle": "line",
74
"fillOpacity": 0,
75
"gradientMode": "none",
76
"hideFrom": {
77
"legend": false,
78
"tooltip": false,
79
"viz": false
80
},
81
"lineInterpolation": "linear",
82
"lineWidth": 1,
83
"pointSize": 5,
84
"scaleDistribution": {
85
"type": "linear"
86
},
87
"showPoints": "auto",
88
"spanNulls": false,
89
"stacking": {
90
"group": "A",
91
"mode": "none"
92
},
93
"thresholdsStyle": {
94
"mode": "off"
95
}
96
},
97
"mappings": [],
98
"thresholds": {
99
"mode": "absolute",
100
"steps": [
101
{
102
"color": "green",
103
"value": null
104
},
105
{
106
"color": "red",
107
"value": 80
108
}
109
]
110
}
111
},
112
"overrides": []
113
},
114
"gridPos": {
115
"h": 8,
116
"w": 24,
117
"x": 0,
118
"y": 1
119
},
120
"id": 40,
121
"options": {
122
"legend": {
123
"calcs": [],
124
"displayMode": "list",
125
"placement": "bottom",
126
"showLegend": true
127
},
128
"tooltip": {
129
"mode": "single",
130
"sort": "none"
131
}
132
},
133
"targets": [
134
{
135
"datasource": {
136
"type": "prometheus",
137
"uid": "${datasource}"
138
},
139
"editorMode": "code",
140
"expr": "sum(supervisor_ide_ready_duration_total_sum{kind=~\"${kind}\", cluster=~\"${cluster}\"}) / sum(supervisor_ide_ready_duration_total_count{kind=~\"${kind}\", cluster=~\"${cluster}\"})",
141
"legendFormat": "startup time",
142
"range": true,
143
"refId": "A"
144
}
145
],
146
"title": "IDE startup time AVG",
147
"type": "timeseries"
148
},
149
{
150
"datasource": {
151
"type": "prometheus",
152
"uid": "${datasource}"
153
},
154
"fieldConfig": {
155
"defaults": {
156
"color": {
157
"mode": "palette-classic"
158
},
159
"custom": {
160
"axisCenteredZero": false,
161
"axisColorMode": "text",
162
"axisLabel": "",
163
"axisPlacement": "auto",
164
"barAlignment": 0,
165
"drawStyle": "line",
166
"fillOpacity": 0,
167
"gradientMode": "none",
168
"hideFrom": {
169
"legend": false,
170
"tooltip": false,
171
"viz": false
172
},
173
"lineInterpolation": "linear",
174
"lineWidth": 1,
175
"pointSize": 5,
176
"scaleDistribution": {
177
"type": "linear"
178
},
179
"showPoints": "auto",
180
"spanNulls": false,
181
"stacking": {
182
"group": "A",
183
"mode": "none"
184
},
185
"thresholdsStyle": {
186
"mode": "off"
187
}
188
},
189
"mappings": [],
190
"thresholds": {
191
"mode": "absolute",
192
"steps": [
193
{
194
"color": "green",
195
"value": null
196
},
197
{
198
"color": "red",
199
"value": 80
200
}
201
]
202
}
203
},
204
"overrides": []
205
},
206
"gridPos": {
207
"h": 8,
208
"w": 24,
209
"x": 0,
210
"y": 9
211
},
212
"id": 41,
213
"options": {
214
"legend": {
215
"calcs": [
216
"max",
217
"mean",
218
"min"
219
],
220
"displayMode": "table",
221
"placement": "right",
222
"showLegend": true
223
},
224
"tooltip": {
225
"mode": "single",
226
"sort": "none"
227
}
228
},
229
"targets": [
230
{
231
"datasource": {
232
"type": "prometheus",
233
"uid": "${datasource}"
234
},
235
"editorMode": "code",
236
"expr": "histogram_quantile(1, sum by(le) (rate(supervisor_ide_ready_duration_total_bucket{kind=~\"${kind}\", cluster=~\"${cluster}\"}[$__interval])))",
237
"hide": false,
238
"legendFormat": "max",
239
"range": true,
240
"refId": "A"
241
},
242
{
243
"datasource": {
244
"type": "prometheus",
245
"uid": "${datasource}"
246
},
247
"editorMode": "code",
248
"expr": "histogram_quantile(0.99, sum by(le) (rate(supervisor_ide_ready_duration_total_bucket{kind=~\"${kind}\", cluster=~\"${cluster}\"}[$__interval])))",
249
"hide": false,
250
"legendFormat": "0.99",
251
"range": true,
252
"refId": "C"
253
},
254
{
255
"datasource": {
256
"type": "prometheus",
257
"uid": "${datasource}"
258
},
259
"editorMode": "code",
260
"expr": "histogram_quantile(0.95, sum by(le) (rate(supervisor_ide_ready_duration_total_bucket{kind=~\"${kind}\", cluster=~\"${cluster}\"}[$__interval])))",
261
"hide": false,
262
"legendFormat": "0.95",
263
"range": true,
264
"refId": "D"
265
},
266
{
267
"datasource": {
268
"type": "prometheus",
269
"uid": "${datasource}"
270
},
271
"editorMode": "code",
272
"expr": "histogram_quantile(0.8, sum by(le) (rate(supervisor_ide_ready_duration_total_bucket{kind=~\"${kind}\", cluster=~\"${cluster}\"}[$__interval])))",
273
"hide": false,
274
"legendFormat": "0.8",
275
"range": true,
276
"refId": "B"
277
},
278
{
279
"datasource": {
280
"type": "prometheus",
281
"uid": "${datasource}"
282
},
283
"editorMode": "code",
284
"expr": "histogram_quantile(0.5, sum by(le) (rate(supervisor_ide_ready_duration_total_bucket{kind=~\"${kind}\", cluster=~\"${cluster}\"}[$__interval])))",
285
"hide": false,
286
"legendFormat": "median",
287
"range": true,
288
"refId": "E"
289
}
290
],
291
"title": "IDE startup time quantiles",
292
"type": "timeseries"
293
},
294
{
295
"cards": {},
296
"color": {
297
"cardColor": "#b4ff00",
298
"colorScale": "sqrt",
299
"colorScheme": "interpolateGreens",
300
"exponent": 0.5,
301
"mode": "spectrum"
302
},
303
"dataFormat": "tsbuckets",
304
"datasource": {
305
"type": "prometheus",
306
"uid": "$datasource"
307
},
308
"fieldConfig": {
309
"defaults": {
310
"custom": {
311
"hideFrom": {
312
"legend": false,
313
"tooltip": false,
314
"viz": false
315
},
316
"scaleDistribution": {
317
"type": "linear"
318
}
319
}
320
},
321
"overrides": []
322
},
323
"gridPos": {
324
"h": 11,
325
"w": 24,
326
"x": 0,
327
"y": 17
328
},
329
"heatmap": {},
330
"hideZeroBuckets": true,
331
"highlightCards": true,
332
"id": 36,
333
"legend": {
334
"show": false
335
},
336
"options": {
337
"calculate": false,
338
"calculation": {},
339
"cellGap": 2,
340
"cellValues": {},
341
"color": {
342
"exponent": 0.5,
343
"fill": "#b4ff00",
344
"mode": "scheme",
345
"reverse": false,
346
"scale": "exponential",
347
"scheme": "Greens",
348
"steps": 128
349
},
350
"exemplars": {
351
"color": "rgba(255,0,255,0.7)"
352
},
353
"filterValues": {
354
"le": 1e-9
355
},
356
"legend": {
357
"show": true
358
},
359
"rowsFrame": {
360
"layout": "auto"
361
},
362
"showValue": "never",
363
"tooltip": {
364
"show": true,
365
"yHistogram": false
366
},
367
"yAxis": {
368
"axisPlacement": "left",
369
"reverse": false,
370
"unit": "s"
371
}
372
},
373
"pluginVersion": "9.2.6",
374
"targets": [
375
{
376
"datasource": {
377
"uid": "$datasource"
378
},
379
"editorMode": "code",
380
"expr": "sum(increase(supervisor_ide_ready_duration_total_bucket{kind=~\"${kind}\"}[$__interval])) by (le)",
381
"format": "heatmap",
382
"intervalFactor": 2,
383
"legendFormat": "{{le}}",
384
"range": true,
385
"refId": "A"
386
}
387
],
388
"title": "IDE Startup time",
389
"tooltip": {
390
"show": true,
391
"showHistogram": false
392
},
393
"type": "heatmap",
394
"xAxis": {
395
"show": true
396
},
397
"yAxis": {
398
"format": "s",
399
"show": true
400
},
401
"yBucketBound": "auto"
402
},
403
{
404
"cards": {},
405
"color": {
406
"cardColor": "#b4ff00",
407
"colorScale": "sqrt",
408
"colorScheme": "interpolateGreens",
409
"exponent": 0.5,
410
"mode": "spectrum"
411
},
412
"dataFormat": "tsbuckets",
413
"datasource": {
414
"type": "prometheus",
415
"uid": "$datasource"
416
},
417
"description": "",
418
"fieldConfig": {
419
"defaults": {
420
"custom": {
421
"hideFrom": {
422
"legend": false,
423
"tooltip": false,
424
"viz": false
425
},
426
"scaleDistribution": {
427
"type": "linear"
428
}
429
}
430
},
431
"overrides": []
432
},
433
"gridPos": {
434
"h": 11,
435
"w": 12,
436
"x": 0,
437
"y": 28
438
},
439
"heatmap": {},
440
"hideZeroBuckets": true,
441
"highlightCards": true,
442
"id": 37,
443
"legend": {
444
"show": false
445
},
446
"maxPerRow": 2,
447
"options": {
448
"calculate": false,
449
"calculation": {},
450
"cellGap": 2,
451
"cellValues": {},
452
"color": {
453
"exponent": 0.5,
454
"fill": "#b4ff00",
455
"mode": "scheme",
456
"reverse": false,
457
"scale": "exponential",
458
"scheme": "Greens",
459
"steps": 128
460
},
461
"exemplars": {
462
"color": "rgba(255,0,255,0.7)"
463
},
464
"filterValues": {
465
"le": 1e-9
466
},
467
"legend": {
468
"show": true
469
},
470
"rowsFrame": {
471
"layout": "auto"
472
},
473
"showValue": "never",
474
"tooltip": {
475
"show": true,
476
"yHistogram": false
477
},
478
"yAxis": {
479
"axisPlacement": "left",
480
"reverse": false,
481
"unit": "s"
482
}
483
},
484
"pluginVersion": "9.2.6",
485
"repeat": "cluster",
486
"repeatDirection": "h",
487
"targets": [
488
{
489
"datasource": {
490
"uid": "$datasource"
491
},
492
"editorMode": "code",
493
"expr": "sum(increase(supervisor_ide_ready_duration_total_bucket{kind=~\"${kind}\", cluster=~\"${cluster}\"}[$__interval])) by (le)",
494
"format": "heatmap",
495
"intervalFactor": 2,
496
"legendFormat": "{{le}}",
497
"range": true,
498
"refId": "A"
499
}
500
],
501
"title": "${cluster}: IDE Startup time",
502
"tooltip": {
503
"show": true,
504
"showHistogram": false
505
},
506
"type": "heatmap",
507
"xAxis": {
508
"show": true
509
},
510
"yAxis": {
511
"format": "s",
512
"show": true
513
},
514
"yBucketBound": "auto"
515
}
516
],
517
"refresh": "30s",
518
"schemaVersion": 37,
519
"style": "dark",
520
"tags": [],
521
"templating": {
522
"list": [
523
{
524
"current": {
525
"selected": false,
526
"text": "VictoriaMetrics",
527
"value": "VictoriaMetrics"
528
},
529
"hide": 0,
530
"includeAll": false,
531
"multi": false,
532
"name": "datasource",
533
"options": [],
534
"query": "prometheus",
535
"refresh": 1,
536
"regex": "",
537
"skipUrlSync": false,
538
"type": "datasource"
539
},
540
{
541
"current": {
542
"selected": true,
543
"text": [
544
"All"
545
],
546
"value": [
547
"$__all"
548
]
549
},
550
"datasource": {
551
"uid": "$datasource"
552
},
553
"definition": "label_values(supervisor_ide_ready_duration_total_sum, cluster)",
554
"hide": 0,
555
"includeAll": true,
556
"multi": true,
557
"name": "cluster",
558
"options": [],
559
"query": {
560
"query": "label_values(supervisor_ide_ready_duration_total_sum, cluster)",
561
"refId": "StandardVariableQuery"
562
},
563
"refresh": 2,
564
"regex": "",
565
"skipUrlSync": false,
566
"sort": 1,
567
"tagValuesQuery": "",
568
"tagsQuery": "",
569
"type": "query",
570
"useTags": false
571
},
572
{
573
"current": {
574
"selected": true,
575
"text": "All",
576
"value": "$__all"
577
},
578
"datasource": {
579
"type": "prometheus",
580
"uid": "${datasource}"
581
},
582
"definition": "label_values(supervisor_ide_ready_duration_total_sum, kind)",
583
"hide": 0,
584
"includeAll": true,
585
"multi": false,
586
"name": "kind",
587
"options": [],
588
"query": {
589
"query": "label_values(supervisor_ide_ready_duration_total_sum, kind)",
590
"refId": "StandardVariableQuery"
591
},
592
"refresh": 2,
593
"regex": "",
594
"skipUrlSync": false,
595
"sort": 0,
596
"type": "query"
597
}
598
]
599
},
600
"time": {
601
"from": "now-1h",
602
"to": "now"
603
},
604
"timepicker": {
605
"refresh_intervals": [
606
"5s",
607
"10s",
608
"30s",
609
"1m",
610
"5m",
611
"15m",
612
"30m",
613
"1h",
614
"2h",
615
"1d"
616
],
617
"time_options": [
618
"5m",
619
"15m",
620
"1h",
621
"6h",
622
"12h",
623
"24h",
624
"2d",
625
"7d",
626
"30d"
627
]
628
},
629
"timezone": "utc",
630
"title": "IDE Startup time",
631
"uid": "nH0B7BdVk",
632
"version": 1,
633
"weekStart": ""
634
}
635
636