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-service.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": 0,
27
"links": [],
28
"liveNow": false,
29
"panels": [
30
{
31
"collapsed": false,
32
"gridPos": {
33
"h": 1,
34
"w": 24,
35
"x": 0,
36
"y": 0
37
},
38
"id": 5,
39
"panels": [],
40
"title": "Client",
41
"type": "row"
42
},
43
{
44
"datasource": {
45
"type": "prometheus",
46
"uid": "${datasource}"
47
},
48
"fieldConfig": {
49
"defaults": {
50
"color": {
51
"mode": "palette-classic"
52
},
53
"custom": {
54
"axisCenteredZero": false,
55
"axisColorMode": "text",
56
"axisLabel": "request/second",
57
"axisPlacement": "auto",
58
"barAlignment": 0,
59
"drawStyle": "line",
60
"fillOpacity": 0,
61
"gradientMode": "none",
62
"hideFrom": {
63
"legend": false,
64
"tooltip": false,
65
"viz": false
66
},
67
"lineInterpolation": "linear",
68
"lineWidth": 1,
69
"pointSize": 5,
70
"scaleDistribution": {
71
"type": "linear"
72
},
73
"showPoints": "auto",
74
"spanNulls": false,
75
"stacking": {
76
"group": "A",
77
"mode": "none"
78
},
79
"thresholdsStyle": {
80
"mode": "off"
81
}
82
},
83
"mappings": [],
84
"thresholds": {
85
"mode": "absolute",
86
"steps": [
87
{
88
"color": "green",
89
"value": null
90
},
91
{
92
"color": "red",
93
"value": 80
94
}
95
]
96
}
97
},
98
"overrides": []
99
},
100
"gridPos": {
101
"h": 8,
102
"w": 12,
103
"x": 0,
104
"y": 1
105
},
106
"id": 2,
107
"options": {
108
"legend": {
109
"calcs": [
110
"min",
111
"mean",
112
"max"
113
],
114
"displayMode": "table",
115
"placement": "bottom",
116
"showLegend": true
117
},
118
"tooltip": {
119
"mode": "single",
120
"sort": "none"
121
}
122
},
123
"targets": [
124
{
125
"datasource": {
126
"type": "prometheus",
127
"uid": "${datasource}"
128
},
129
"editorMode": "code",
130
"expr": "sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",
131
"legendFormat": "rate",
132
"range": true,
133
"refId": "A"
134
}
135
],
136
"title": "Requests",
137
"type": "timeseries"
138
},
139
{
140
"datasource": {
141
"type": "prometheus",
142
"uid": "${datasource}"
143
},
144
"fieldConfig": {
145
"defaults": {
146
"color": {
147
"mode": "palette-classic"
148
},
149
"custom": {
150
"axisCenteredZero": false,
151
"axisColorMode": "text",
152
"axisLabel": "request/second",
153
"axisPlacement": "auto",
154
"barAlignment": 0,
155
"drawStyle": "line",
156
"fillOpacity": 0,
157
"gradientMode": "none",
158
"hideFrom": {
159
"legend": false,
160
"tooltip": false,
161
"viz": false
162
},
163
"lineInterpolation": "linear",
164
"lineWidth": 1,
165
"pointSize": 5,
166
"scaleDistribution": {
167
"type": "linear"
168
},
169
"showPoints": "auto",
170
"spanNulls": false,
171
"stacking": {
172
"group": "A",
173
"mode": "none"
174
},
175
"thresholdsStyle": {
176
"mode": "off"
177
}
178
},
179
"mappings": [],
180
"thresholds": {
181
"mode": "absolute",
182
"steps": [
183
{
184
"color": "green",
185
"value": null
186
},
187
{
188
"color": "red",
189
"value": 80
190
}
191
]
192
}
193
},
194
"overrides": []
195
},
196
"gridPos": {
197
"h": 8,
198
"w": 12,
199
"x": 12,
200
"y": 1
201
},
202
"id": 8,
203
"options": {
204
"legend": {
205
"calcs": [
206
"min",
207
"mean",
208
"max"
209
],
210
"displayMode": "table",
211
"placement": "bottom",
212
"showLegend": true
213
},
214
"tooltip": {
215
"mode": "single",
216
"sort": "none"
217
}
218
},
219
"targets": [
220
{
221
"datasource": {
222
"type": "prometheus",
223
"uid": "${datasource}"
224
},
225
"editorMode": "code",
226
"expr": "sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m])) by (grpc_method)",
227
"legendFormat": "{{grpc_method}} rate",
228
"range": true,
229
"refId": "A"
230
}
231
],
232
"title": "Requests by Method",
233
"type": "timeseries"
234
},
235
{
236
"datasource": {
237
"type": "prometheus",
238
"uid": "${datasource}"
239
},
240
"fieldConfig": {
241
"defaults": {
242
"color": {
243
"mode": "palette-classic"
244
},
245
"custom": {
246
"axisCenteredZero": false,
247
"axisColorMode": "text",
248
"axisLabel": "",
249
"axisPlacement": "auto",
250
"axisSoftMax": -5,
251
"barAlignment": 0,
252
"drawStyle": "bars",
253
"fillOpacity": 0,
254
"gradientMode": "none",
255
"hideFrom": {
256
"legend": false,
257
"tooltip": false,
258
"viz": false
259
},
260
"lineInterpolation": "linear",
261
"lineWidth": 1,
262
"pointSize": 5,
263
"scaleDistribution": {
264
"type": "linear"
265
},
266
"showPoints": "auto",
267
"spanNulls": false,
268
"stacking": {
269
"group": "A",
270
"mode": "none"
271
},
272
"thresholdsStyle": {
273
"mode": "off"
274
}
275
},
276
"mappings": [],
277
"max": 1,
278
"min": 0,
279
"thresholds": {
280
"mode": "absolute",
281
"steps": [
282
{
283
"color": "green",
284
"value": null
285
},
286
{
287
"color": "red",
288
"value": 80
289
}
290
]
291
},
292
"unit": "percentunit"
293
},
294
"overrides": []
295
},
296
"gridPos": {
297
"h": 8,
298
"w": 12,
299
"x": 0,
300
"y": 9
301
},
302
"id": 11,
303
"options": {
304
"legend": {
305
"calcs": [
306
"mean"
307
],
308
"displayMode": "table",
309
"placement": "bottom",
310
"showLegend": true
311
},
312
"tooltip": {
313
"mode": "single",
314
"sort": "none"
315
}
316
},
317
"targets": [
318
{
319
"datasource": {
320
"type": "prometheus",
321
"uid": "${datasource}"
322
},
323
"editorMode": "code",
324
"expr": "sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\",grpc_code!=\"OK\"}[2m]))/sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",
325
"legendFormat": "total ratio",
326
"range": true,
327
"refId": "A"
328
}
329
],
330
"title": "Total Failure Ratio",
331
"type": "timeseries"
332
},
333
{
334
"datasource": {
335
"type": "prometheus",
336
"uid": "${datasource}"
337
},
338
"fieldConfig": {
339
"defaults": {
340
"color": {
341
"mode": "palette-classic"
342
},
343
"custom": {
344
"axisCenteredZero": false,
345
"axisColorMode": "text",
346
"axisLabel": "",
347
"axisPlacement": "auto",
348
"barAlignment": 0,
349
"drawStyle": "bars",
350
"fillOpacity": 0,
351
"gradientMode": "none",
352
"hideFrom": {
353
"legend": false,
354
"tooltip": false,
355
"viz": false
356
},
357
"lineInterpolation": "linear",
358
"lineWidth": 1,
359
"pointSize": 5,
360
"scaleDistribution": {
361
"type": "linear"
362
},
363
"showPoints": "auto",
364
"spanNulls": false,
365
"stacking": {
366
"group": "A",
367
"mode": "none"
368
},
369
"thresholdsStyle": {
370
"mode": "off"
371
}
372
},
373
"mappings": [],
374
"max": 1,
375
"min": 0,
376
"thresholds": {
377
"mode": "absolute",
378
"steps": [
379
{
380
"color": "green",
381
"value": null
382
},
383
{
384
"color": "red",
385
"value": 80
386
}
387
]
388
},
389
"unit": "percentunit"
390
},
391
"overrides": []
392
},
393
"gridPos": {
394
"h": 8,
395
"w": 12,
396
"x": 12,
397
"y": 9
398
},
399
"id": 13,
400
"options": {
401
"legend": {
402
"calcs": [
403
"mean"
404
],
405
"displayMode": "table",
406
"placement": "right",
407
"showLegend": true
408
},
409
"tooltip": {
410
"mode": "single",
411
"sort": "none"
412
}
413
},
414
"targets": [
415
{
416
"datasource": {
417
"type": "prometheus",
418
"uid": "${datasource}"
419
},
420
"editorMode": "code",
421
"expr": "sum by (grpc_code) (rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\",grpc_code!=\"OK\"}[2m]))/ignoring(grpc_code) group_left sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",
422
"legendFormat": "__auto",
423
"range": true,
424
"refId": "A"
425
}
426
],
427
"title": "Failure Ratio by Code",
428
"type": "timeseries"
429
},
430
{
431
"datasource": {
432
"type": "prometheus",
433
"uid": "${datasource}"
434
},
435
"fieldConfig": {
436
"defaults": {
437
"color": {
438
"mode": "palette-classic"
439
},
440
"custom": {
441
"axisCenteredZero": false,
442
"axisColorMode": "text",
443
"axisLabel": "",
444
"axisPlacement": "auto",
445
"barAlignment": 0,
446
"drawStyle": "line",
447
"fillOpacity": 0,
448
"gradientMode": "none",
449
"hideFrom": {
450
"legend": false,
451
"tooltip": false,
452
"viz": false
453
},
454
"lineInterpolation": "linear",
455
"lineWidth": 1,
456
"pointSize": 5,
457
"scaleDistribution": {
458
"type": "linear"
459
},
460
"showPoints": "auto",
461
"spanNulls": false,
462
"stacking": {
463
"group": "A",
464
"mode": "none"
465
},
466
"thresholdsStyle": {
467
"mode": "off"
468
}
469
},
470
"mappings": [],
471
"thresholds": {
472
"mode": "absolute",
473
"steps": [
474
{
475
"color": "green",
476
"value": null
477
},
478
{
479
"color": "red",
480
"value": 80
481
}
482
]
483
},
484
"unit": "s"
485
},
486
"overrides": [
487
{
488
"__systemRef": "hideSeriesFrom",
489
"matcher": {
490
"id": "byNames",
491
"options": {
492
"mode": "exclude",
493
"names": [
494
"99%"
495
],
496
"prefix": "All except:",
497
"readOnly": true
498
}
499
},
500
"properties": [
501
{
502
"id": "custom.hideFrom",
503
"value": {
504
"legend": false,
505
"tooltip": false,
506
"viz": true
507
}
508
}
509
]
510
}
511
]
512
},
513
"gridPos": {
514
"h": 8,
515
"w": 12,
516
"x": 0,
517
"y": 17
518
},
519
"id": 18,
520
"options": {
521
"legend": {
522
"calcs": [],
523
"displayMode": "list",
524
"placement": "bottom",
525
"showLegend": true
526
},
527
"tooltip": {
528
"mode": "single",
529
"sort": "none"
530
}
531
},
532
"targets": [
533
{
534
"datasource": {
535
"type": "prometheus",
536
"uid": "${datasource}"
537
},
538
"editorMode": "code",
539
"expr": "histogram_quantile(1, sum(rate(grpc_client_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
540
"legendFormat": "100%",
541
"range": true,
542
"refId": "A"
543
},
544
{
545
"datasource": {
546
"type": "prometheus",
547
"uid": "${datasource}"
548
},
549
"editorMode": "code",
550
"expr": "histogram_quantile(0.99, sum(rate(grpc_client_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
551
"hide": false,
552
"legendFormat": "99%",
553
"range": true,
554
"refId": "B"
555
},
556
{
557
"datasource": {
558
"type": "prometheus",
559
"uid": "${datasource}"
560
},
561
"editorMode": "code",
562
"expr": "histogram_quantile(0.95, sum(rate(grpc_client_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
563
"hide": false,
564
"legendFormat": "95%",
565
"range": true,
566
"refId": "C"
567
},
568
{
569
"datasource": {
570
"type": "prometheus",
571
"uid": "${datasource}"
572
},
573
"editorMode": "code",
574
"expr": "histogram_quantile(0.80, sum(rate(grpc_client_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
575
"hide": false,
576
"legendFormat": "80%",
577
"range": true,
578
"refId": "D"
579
},
580
{
581
"datasource": {
582
"type": "prometheus",
583
"uid": "${datasource}"
584
},
585
"editorMode": "code",
586
"expr": "histogram_quantile(0.50, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
587
"hide": false,
588
"legendFormat": "50%",
589
"range": true,
590
"refId": "E"
591
}
592
],
593
"title": "Duration Overall Quantile",
594
"type": "timeseries"
595
},
596
{
597
"collapsed": false,
598
"gridPos": {
599
"h": 1,
600
"w": 24,
601
"x": 0,
602
"y": 25
603
},
604
"id": 7,
605
"panels": [],
606
"title": "Server",
607
"type": "row"
608
},
609
{
610
"datasource": {
611
"type": "prometheus",
612
"uid": "${datasource}"
613
},
614
"fieldConfig": {
615
"defaults": {
616
"color": {
617
"mode": "palette-classic"
618
},
619
"custom": {
620
"axisCenteredZero": false,
621
"axisColorMode": "text",
622
"axisLabel": "request/second",
623
"axisPlacement": "auto",
624
"barAlignment": 0,
625
"drawStyle": "line",
626
"fillOpacity": 0,
627
"gradientMode": "none",
628
"hideFrom": {
629
"legend": false,
630
"tooltip": false,
631
"viz": false
632
},
633
"lineInterpolation": "linear",
634
"lineWidth": 1,
635
"pointSize": 5,
636
"scaleDistribution": {
637
"type": "linear"
638
},
639
"showPoints": "auto",
640
"spanNulls": false,
641
"stacking": {
642
"group": "A",
643
"mode": "none"
644
},
645
"thresholdsStyle": {
646
"mode": "off"
647
}
648
},
649
"mappings": [],
650
"thresholds": {
651
"mode": "absolute",
652
"steps": [
653
{
654
"color": "green",
655
"value": null
656
},
657
{
658
"color": "red",
659
"value": 80
660
}
661
]
662
}
663
},
664
"overrides": []
665
},
666
"gridPos": {
667
"h": 8,
668
"w": 12,
669
"x": 0,
670
"y": 26
671
},
672
"id": 3,
673
"options": {
674
"legend": {
675
"calcs": [
676
"min",
677
"mean",
678
"max"
679
],
680
"displayMode": "table",
681
"placement": "bottom",
682
"showLegend": true
683
},
684
"tooltip": {
685
"mode": "single",
686
"sort": "none"
687
}
688
},
689
"targets": [
690
{
691
"datasource": {
692
"type": "prometheus",
693
"uid": "${datasource}"
694
},
695
"editorMode": "code",
696
"expr": "sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",
697
"legendFormat": "rate",
698
"range": true,
699
"refId": "A"
700
}
701
],
702
"title": "Requests",
703
"type": "timeseries"
704
},
705
{
706
"datasource": {
707
"type": "prometheus",
708
"uid": "${datasource}"
709
},
710
"fieldConfig": {
711
"defaults": {
712
"color": {
713
"mode": "palette-classic"
714
},
715
"custom": {
716
"axisCenteredZero": false,
717
"axisColorMode": "text",
718
"axisLabel": "request/second",
719
"axisPlacement": "auto",
720
"barAlignment": 0,
721
"drawStyle": "line",
722
"fillOpacity": 0,
723
"gradientMode": "none",
724
"hideFrom": {
725
"legend": false,
726
"tooltip": false,
727
"viz": false
728
},
729
"lineInterpolation": "linear",
730
"lineWidth": 1,
731
"pointSize": 5,
732
"scaleDistribution": {
733
"type": "linear"
734
},
735
"showPoints": "auto",
736
"spanNulls": false,
737
"stacking": {
738
"group": "A",
739
"mode": "none"
740
},
741
"thresholdsStyle": {
742
"mode": "off"
743
}
744
},
745
"mappings": [],
746
"thresholds": {
747
"mode": "absolute",
748
"steps": [
749
{
750
"color": "green",
751
"value": null
752
},
753
{
754
"color": "red",
755
"value": 80
756
}
757
]
758
}
759
},
760
"overrides": []
761
},
762
"gridPos": {
763
"h": 8,
764
"w": 12,
765
"x": 12,
766
"y": 26
767
},
768
"id": 9,
769
"options": {
770
"legend": {
771
"calcs": [
772
"min",
773
"mean",
774
"max"
775
],
776
"displayMode": "table",
777
"placement": "bottom",
778
"showLegend": true
779
},
780
"tooltip": {
781
"mode": "single",
782
"sort": "none"
783
}
784
},
785
"targets": [
786
{
787
"datasource": {
788
"type": "prometheus",
789
"uid": "${datasource}"
790
},
791
"editorMode": "code",
792
"expr": "sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m])) by (grpc_method)",
793
"legendFormat": "{{grpc_method}} rate",
794
"range": true,
795
"refId": "A"
796
}
797
],
798
"title": "Requests by Method",
799
"type": "timeseries"
800
},
801
{
802
"datasource": {
803
"type": "prometheus",
804
"uid": "${datasource}"
805
},
806
"fieldConfig": {
807
"defaults": {
808
"color": {
809
"mode": "palette-classic"
810
},
811
"custom": {
812
"axisCenteredZero": false,
813
"axisColorMode": "text",
814
"axisLabel": "",
815
"axisPlacement": "auto",
816
"axisSoftMax": -5,
817
"barAlignment": 0,
818
"drawStyle": "line",
819
"fillOpacity": 0,
820
"gradientMode": "none",
821
"hideFrom": {
822
"legend": false,
823
"tooltip": false,
824
"viz": false
825
},
826
"lineInterpolation": "linear",
827
"lineWidth": 1,
828
"pointSize": 5,
829
"scaleDistribution": {
830
"type": "linear"
831
},
832
"showPoints": "auto",
833
"spanNulls": false,
834
"stacking": {
835
"group": "A",
836
"mode": "none"
837
},
838
"thresholdsStyle": {
839
"mode": "off"
840
}
841
},
842
"mappings": [],
843
"max": 1,
844
"min": 0,
845
"thresholds": {
846
"mode": "absolute",
847
"steps": [
848
{
849
"color": "green",
850
"value": null
851
},
852
{
853
"color": "red",
854
"value": 80
855
}
856
]
857
},
858
"unit": "percentunit"
859
},
860
"overrides": []
861
},
862
"gridPos": {
863
"h": 8,
864
"w": 12,
865
"x": 0,
866
"y": 34
867
},
868
"id": 14,
869
"options": {
870
"legend": {
871
"calcs": [
872
"mean"
873
],
874
"displayMode": "table",
875
"placement": "bottom",
876
"showLegend": true
877
},
878
"tooltip": {
879
"mode": "single",
880
"sort": "none"
881
}
882
},
883
"targets": [
884
{
885
"datasource": {
886
"type": "prometheus",
887
"uid": "${datasource}"
888
},
889
"editorMode": "code",
890
"expr": "sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\",grpc_code!=\"OK\"}[2m]))/sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",
891
"legendFormat": "total ratio",
892
"range": true,
893
"refId": "A"
894
}
895
],
896
"title": "Total Failure Ratio",
897
"type": "timeseries"
898
},
899
{
900
"datasource": {
901
"type": "prometheus",
902
"uid": "${datasource}"
903
},
904
"fieldConfig": {
905
"defaults": {
906
"color": {
907
"mode": "palette-classic"
908
},
909
"custom": {
910
"axisCenteredZero": false,
911
"axisColorMode": "text",
912
"axisLabel": "",
913
"axisPlacement": "auto",
914
"barAlignment": 0,
915
"drawStyle": "line",
916
"fillOpacity": 0,
917
"gradientMode": "none",
918
"hideFrom": {
919
"legend": false,
920
"tooltip": false,
921
"viz": false
922
},
923
"lineInterpolation": "linear",
924
"lineWidth": 1,
925
"pointSize": 5,
926
"scaleDistribution": {
927
"type": "linear"
928
},
929
"showPoints": "auto",
930
"spanNulls": false,
931
"stacking": {
932
"group": "A",
933
"mode": "none"
934
},
935
"thresholdsStyle": {
936
"mode": "off"
937
}
938
},
939
"mappings": [],
940
"max": 1,
941
"min": 0,
942
"thresholds": {
943
"mode": "absolute",
944
"steps": [
945
{
946
"color": "green",
947
"value": null
948
},
949
{
950
"color": "red",
951
"value": 80
952
}
953
]
954
},
955
"unit": "percentunit"
956
},
957
"overrides": []
958
},
959
"gridPos": {
960
"h": 8,
961
"w": 12,
962
"x": 12,
963
"y": 34
964
},
965
"id": 15,
966
"options": {
967
"legend": {
968
"calcs": [
969
"mean"
970
],
971
"displayMode": "table",
972
"placement": "right",
973
"showLegend": true
974
},
975
"tooltip": {
976
"mode": "single",
977
"sort": "none"
978
}
979
},
980
"targets": [
981
{
982
"datasource": {
983
"type": "prometheus",
984
"uid": "${datasource}"
985
},
986
"editorMode": "code",
987
"expr": "sum by (grpc_code) (rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\",grpc_code!=\"OK\"}[2m]))/ignoring(grpc_code) group_left sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",
988
"legendFormat": "__auto",
989
"range": true,
990
"refId": "A"
991
}
992
],
993
"title": "Failure Ratio by Code",
994
"type": "timeseries"
995
},
996
{
997
"datasource": {
998
"type": "prometheus",
999
"uid": "${datasource}"
1000
},
1001
"fieldConfig": {
1002
"defaults": {
1003
"color": {
1004
"mode": "palette-classic"
1005
},
1006
"custom": {
1007
"axisCenteredZero": false,
1008
"axisColorMode": "text",
1009
"axisLabel": "",
1010
"axisPlacement": "auto",
1011
"barAlignment": 0,
1012
"drawStyle": "line",
1013
"fillOpacity": 0,
1014
"gradientMode": "none",
1015
"hideFrom": {
1016
"legend": false,
1017
"tooltip": false,
1018
"viz": false
1019
},
1020
"lineInterpolation": "linear",
1021
"lineWidth": 1,
1022
"pointSize": 5,
1023
"scaleDistribution": {
1024
"type": "linear"
1025
},
1026
"showPoints": "auto",
1027
"spanNulls": false,
1028
"stacking": {
1029
"group": "A",
1030
"mode": "none"
1031
},
1032
"thresholdsStyle": {
1033
"mode": "off"
1034
}
1035
},
1036
"mappings": [],
1037
"thresholds": {
1038
"mode": "absolute",
1039
"steps": [
1040
{
1041
"color": "green",
1042
"value": null
1043
},
1044
{
1045
"color": "red",
1046
"value": 80
1047
}
1048
]
1049
},
1050
"unit": "s"
1051
},
1052
"overrides": []
1053
},
1054
"gridPos": {
1055
"h": 8,
1056
"w": 12,
1057
"x": 0,
1058
"y": 42
1059
},
1060
"id": 19,
1061
"options": {
1062
"legend": {
1063
"calcs": [],
1064
"displayMode": "list",
1065
"placement": "bottom",
1066
"showLegend": true
1067
},
1068
"tooltip": {
1069
"mode": "single",
1070
"sort": "none"
1071
}
1072
},
1073
"targets": [
1074
{
1075
"datasource": {
1076
"type": "prometheus",
1077
"uid": "${datasource}"
1078
},
1079
"editorMode": "code",
1080
"expr": "histogram_quantile(1, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
1081
"legendFormat": "100%",
1082
"range": true,
1083
"refId": "A"
1084
},
1085
{
1086
"datasource": {
1087
"type": "prometheus",
1088
"uid": "${datasource}"
1089
},
1090
"editorMode": "code",
1091
"expr": "histogram_quantile(0.99, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
1092
"hide": false,
1093
"legendFormat": "99%",
1094
"range": true,
1095
"refId": "B"
1096
},
1097
{
1098
"datasource": {
1099
"type": "prometheus",
1100
"uid": "${datasource}"
1101
},
1102
"editorMode": "code",
1103
"expr": "histogram_quantile(0.95, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
1104
"hide": false,
1105
"legendFormat": "95%",
1106
"range": true,
1107
"refId": "C"
1108
},
1109
{
1110
"datasource": {
1111
"type": "prometheus",
1112
"uid": "${datasource}"
1113
},
1114
"editorMode": "code",
1115
"expr": "histogram_quantile(0.80, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
1116
"hide": false,
1117
"legendFormat": "80%",
1118
"range": true,
1119
"refId": "D"
1120
},
1121
{
1122
"datasource": {
1123
"type": "prometheus",
1124
"uid": "${datasource}"
1125
},
1126
"editorMode": "code",
1127
"expr": "histogram_quantile(0.50, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",
1128
"hide": false,
1129
"legendFormat": "50%",
1130
"range": true,
1131
"refId": "E"
1132
}
1133
],
1134
"title": "Duration Overall Quantile",
1135
"type": "timeseries"
1136
}
1137
],
1138
"refresh": false,
1139
"schemaVersion": 37,
1140
"style": "dark",
1141
"tags": [],
1142
"templating": {
1143
"list": [
1144
{
1145
"current": {
1146
"selected": false,
1147
"text": "VictoriaMetrics",
1148
"value": "VictoriaMetrics"
1149
},
1150
"hide": 0,
1151
"includeAll": false,
1152
"multi": false,
1153
"name": "datasource",
1154
"options": [],
1155
"query": "prometheus",
1156
"refresh": 1,
1157
"regex": "",
1158
"skipUrlSync": false,
1159
"type": "datasource"
1160
}
1161
]
1162
},
1163
"time": {
1164
"from": "now-6h",
1165
"to": "now"
1166
},
1167
"timepicker": {},
1168
"timezone": "",
1169
"title": "IDE Service",
1170
"uid": "iCuCOPFVz",
1171
"version": 2,
1172
"weekStart": ""
1173
}
1174
1175