Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/workspace/dashboards/components/content-service.json
2506 views
1
{
2
"__inputs": [],
3
"__requires": [
4
{
5
"type": "grafana",
6
"id": "grafana",
7
"name": "Grafana",
8
"version": "8.1.2"
9
},
10
{
11
"type": "panel",
12
"id": "graph",
13
"name": "Graph (old)",
14
"version": ""
15
},
16
{
17
"type": "datasource",
18
"id": "prometheus",
19
"name": "Prometheus",
20
"version": "1.0.0"
21
},
22
{
23
"type": "panel",
24
"id": "timeseries",
25
"name": "Time series",
26
"version": ""
27
}
28
],
29
"annotations": {
30
"list": [
31
{
32
"builtIn": 1,
33
"datasource": "-- Grafana --",
34
"enable": true,
35
"hide": true,
36
"iconColor": "rgba(0, 211, 255, 1)",
37
"name": "Annotations & Alerts",
38
"target": {
39
"limit": 100,
40
"matchAny": false,
41
"tags": [],
42
"type": "dashboard"
43
},
44
"type": "dashboard"
45
}
46
]
47
},
48
"editable": true,
49
"gnetId": null,
50
"graphTooltip": 1,
51
"id": null,
52
"iteration": 1630954616984,
53
"links": [],
54
"panels": [
55
{
56
"collapsed": true,
57
"datasource": null,
58
"fieldConfig": {
59
"defaults": {},
60
"overrides": []
61
},
62
"gridPos": {
63
"h": 1,
64
"w": 24,
65
"x": 0,
66
"y": 0
67
},
68
"id": 46,
69
"panels": [
70
{
71
"aliasColors": {},
72
"bars": false,
73
"dashLength": 10,
74
"dashes": false,
75
"datasource": "$datasource",
76
"description": "",
77
"fieldConfig": {
78
"defaults": {
79
"custom": {},
80
"links": []
81
},
82
"overrides": []
83
},
84
"fill": 1,
85
"fillGradient": 0,
86
"gridPos": {
87
"h": 9,
88
"w": 12,
89
"x": 0,
90
"y": 1
91
},
92
"hiddenSeries": false,
93
"id": 48,
94
"legend": {
95
"alignAsTable": true,
96
"avg": false,
97
"current": true,
98
"max": true,
99
"min": false,
100
"show": true,
101
"total": false,
102
"values": true
103
},
104
"lines": true,
105
"linewidth": 1,
106
"links": [],
107
"nullPointMode": "null",
108
"options": {
109
"alertThreshold": true
110
},
111
"percentage": false,
112
"pluginVersion": "7.4.3",
113
"pointradius": 2,
114
"points": false,
115
"renderer": "flot",
116
"repeatDirection": "h",
117
"seriesOverrides": [],
118
"spaceLength": 10,
119
"stack": false,
120
"steppedLine": false,
121
"targets": [
122
{
123
"expr": "sum(rate(grpc_server_handled_total{job=\"content-service\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[1m])) by (grpc_code, grpc_method, cluster)",
124
"interval": "",
125
"legendFormat": "{{cluster}} - {{grpc_method}} - {{grpc_code}}",
126
"queryType": "randomWalk",
127
"refId": "A"
128
}
129
],
130
"thresholds": [],
131
"timeFrom": null,
132
"timeRegions": [],
133
"timeShift": null,
134
"title": "gRPC calls handled (Server-side)",
135
"tooltip": {
136
"shared": true,
137
"sort": 2,
138
"value_type": "individual"
139
},
140
"type": "graph",
141
"xaxis": {
142
"buckets": null,
143
"mode": "time",
144
"name": null,
145
"show": true,
146
"values": []
147
},
148
"yaxes": [
149
{
150
"decimals": 2,
151
"format": "reqps",
152
"label": null,
153
"logBase": 1,
154
"max": null,
155
"min": "0",
156
"show": true
157
},
158
{
159
"format": "reqps",
160
"label": null,
161
"logBase": 1,
162
"max": null,
163
"min": null,
164
"show": true
165
}
166
],
167
"yaxis": {
168
"align": false,
169
"alignLevel": null
170
}
171
},
172
{
173
"aliasColors": {},
174
"bars": false,
175
"dashLength": 10,
176
"dashes": false,
177
"datasource": "$datasource",
178
"description": "",
179
"fieldConfig": {
180
"defaults": {
181
"custom": {},
182
"links": []
183
},
184
"overrides": []
185
},
186
"fill": 1,
187
"fillGradient": 0,
188
"gridPos": {
189
"h": 9,
190
"w": 12,
191
"x": 12,
192
"y": 1
193
},
194
"hiddenSeries": false,
195
"id": 50,
196
"legend": {
197
"alignAsTable": true,
198
"avg": false,
199
"current": true,
200
"max": true,
201
"min": false,
202
"show": true,
203
"total": false,
204
"values": true
205
},
206
"lines": true,
207
"linewidth": 1,
208
"links": [],
209
"nullPointMode": "null",
210
"options": {
211
"alertThreshold": true
212
},
213
"percentage": false,
214
"pluginVersion": "7.4.3",
215
"pointradius": 2,
216
"points": false,
217
"renderer": "flot",
218
"repeatDirection": "h",
219
"seriesOverrides": [],
220
"spaceLength": 10,
221
"stack": false,
222
"steppedLine": false,
223
"targets": [
224
{
225
"expr": "sum(rate(grpc_server_started_total{job=\"content-service\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[1m])) by (grpc_code, grpc_method, cluster)",
226
"interval": "",
227
"legendFormat": "{{cluster}} - {{grpc_method}} - Started",
228
"queryType": "randomWalk",
229
"refId": "A"
230
},
231
{
232
"expr": "sum(rate(grpc_server_handled_total{job=\"content-service\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[1m])) by (grpc_method, cluster)",
233
"hide": false,
234
"interval": "",
235
"legendFormat": "{{cluster}} - {{grpc_method}} - Finished",
236
"queryType": "randomWalk",
237
"refId": "B"
238
}
239
],
240
"thresholds": [],
241
"timeFrom": null,
242
"timeRegions": [],
243
"timeShift": null,
244
"title": "gRPC start and finish rate",
245
"tooltip": {
246
"shared": true,
247
"sort": 2,
248
"value_type": "individual"
249
},
250
"type": "graph",
251
"xaxis": {
252
"buckets": null,
253
"mode": "time",
254
"name": null,
255
"show": true,
256
"values": []
257
},
258
"yaxes": [
259
{
260
"decimals": 2,
261
"format": "reqps",
262
"label": null,
263
"logBase": 1,
264
"max": null,
265
"min": "0",
266
"show": true
267
},
268
{
269
"format": "none",
270
"label": null,
271
"logBase": 1,
272
"max": null,
273
"min": null,
274
"show": true
275
}
276
],
277
"yaxis": {
278
"align": false,
279
"alignLevel": null
280
}
281
},
282
{
283
"aliasColors": {},
284
"bars": false,
285
"dashLength": 10,
286
"dashes": false,
287
"datasource": "$datasource",
288
"description": "",
289
"fieldConfig": {
290
"defaults": {
291
"custom": {},
292
"links": []
293
},
294
"overrides": []
295
},
296
"fill": 1,
297
"fillGradient": 0,
298
"gridPos": {
299
"h": 9,
300
"w": 12,
301
"x": 0,
302
"y": 10
303
},
304
"hiddenSeries": false,
305
"id": 52,
306
"legend": {
307
"alignAsTable": true,
308
"avg": false,
309
"current": true,
310
"max": true,
311
"min": false,
312
"show": true,
313
"total": false,
314
"values": true
315
},
316
"lines": true,
317
"linewidth": 1,
318
"links": [],
319
"maxPerRow": 2,
320
"nullPointMode": "null",
321
"options": {
322
"alertThreshold": true
323
},
324
"percentage": false,
325
"pluginVersion": "7.4.3",
326
"pointradius": 2,
327
"points": false,
328
"renderer": "flot",
329
"repeat": "grpc_method",
330
"repeatDirection": "h",
331
"seriesOverrides": [],
332
"spaceLength": 10,
333
"stack": false,
334
"steppedLine": false,
335
"targets": [
336
{
337
"expr": "histogram_quantile(0.99, \n sum(\n rate(grpc_server_handling_seconds_bucket{job=\"content-service\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method, le)\n)",
338
"interval": "",
339
"legendFormat": "{{cluster}} - {{grpc_method}} - 99th Percentile",
340
"queryType": "randomWalk",
341
"refId": "A"
342
},
343
{
344
"expr": "histogram_quantile(0.95, \n sum(\n rate(grpc_server_handling_seconds_bucket{job=\"content-service\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method, le)\n)",
345
"interval": "",
346
"legendFormat": "{{cluster}} - {{grpc_method}} - 95th Percentile",
347
"queryType": "randomWalk",
348
"refId": "B"
349
},
350
{
351
"expr": "histogram_quantile(0.50, \n sum(\n rate(grpc_server_handling_seconds_bucket{job=\"content-service\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method, le)\n)",
352
"interval": "",
353
"legendFormat": "{{cluster}} - {{grpc_method}} - 50th Percentile",
354
"queryType": "randomWalk",
355
"refId": "C"
356
},
357
{
358
"expr": " sum(\n rate(grpc_server_handling_seconds_sum{job=\"content-service\", cluster=~\"$cluster\", grpc_method=\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method)\n /\n sum(\n rate(grpc_server_handling_seconds_count{job=\"content-service\", cluster=~\"$cluster\", grpc_method=\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method)",
359
"hide": false,
360
"interval": "",
361
"legendFormat": "{{cluster}} - {{grpc_method}} - avg",
362
"queryType": "randomWalk",
363
"refId": "D"
364
}
365
],
366
"thresholds": [],
367
"timeFrom": null,
368
"timeRegions": [],
369
"timeShift": null,
370
"title": "$grpc_method: Time handling gRPC calls",
371
"tooltip": {
372
"shared": true,
373
"sort": 0,
374
"value_type": "individual"
375
},
376
"type": "graph",
377
"xaxis": {
378
"buckets": null,
379
"mode": "time",
380
"name": null,
381
"show": true,
382
"values": []
383
},
384
"yaxes": [
385
{
386
"format": "s",
387
"label": null,
388
"logBase": 1,
389
"max": null,
390
"min": "0",
391
"show": true
392
},
393
{
394
"format": "reqps",
395
"label": null,
396
"logBase": 1,
397
"max": null,
398
"min": null,
399
"show": true
400
}
401
],
402
"yaxis": {
403
"align": false,
404
"alignLevel": null
405
}
406
}
407
],
408
"title": "gRPC Metrics",
409
"type": "row"
410
},
411
{
412
"collapsed": false,
413
"datasource": null,
414
"fieldConfig": {
415
"defaults": {},
416
"overrides": []
417
},
418
"gridPos": {
419
"h": 1,
420
"w": 24,
421
"x": 0,
422
"y": 1
423
},
424
"id": 16,
425
"panels": [],
426
"title": "Pod Metrics",
427
"type": "row"
428
},
429
{
430
"datasource": "$datasource",
431
"fieldConfig": {
432
"defaults": {
433
"color": {
434
"mode": "palette-classic"
435
},
436
"custom": {
437
"axisLabel": "",
438
"axisPlacement": "auto",
439
"barAlignment": 0,
440
"drawStyle": "line",
441
"fillOpacity": 0,
442
"gradientMode": "none",
443
"hideFrom": {
444
"legend": false,
445
"tooltip": false,
446
"viz": false
447
},
448
"lineInterpolation": "linear",
449
"lineWidth": 1,
450
"pointSize": 5,
451
"scaleDistribution": {
452
"type": "linear"
453
},
454
"showPoints": "auto",
455
"spanNulls": false,
456
"stacking": {
457
"group": "A",
458
"mode": "none"
459
},
460
"thresholdsStyle": {
461
"mode": "off"
462
}
463
},
464
"mappings": [],
465
"thresholds": {
466
"mode": "absolute",
467
"steps": [
468
{
469
"color": "green",
470
"value": null
471
},
472
{
473
"color": "red",
474
"value": 80
475
}
476
]
477
}
478
},
479
"overrides": []
480
},
481
"gridPos": {
482
"h": 7,
483
"w": 10,
484
"x": 0,
485
"y": 2
486
},
487
"id": 56,
488
"options": {
489
"legend": {
490
"calcs": [],
491
"displayMode": "table",
492
"placement": "right"
493
},
494
"tooltip": {
495
"mode": "single"
496
}
497
},
498
"targets": [
499
{
500
"exemplar": true,
501
"expr": "kube_pod_container_info{cluster=~\"$cluster\", pod=~\"$pod\", image=~\".+\", container=\"content-service\"}",
502
"interval": "",
503
"legendFormat": "{{cluster}} - {{image}}",
504
"queryType": "randomWalk",
505
"refId": "A"
506
}
507
],
508
"title": "Container image version",
509
"type": "timeseries"
510
},
511
{
512
"aliasColors": {},
513
"bars": false,
514
"dashLength": 10,
515
"dashes": false,
516
"datasource": "$datasource",
517
"decimals": 2,
518
"fill": 1,
519
"fillGradient": 0,
520
"gridPos": {
521
"h": 7,
522
"w": 7,
523
"x": 10,
524
"y": 2
525
},
526
"hiddenSeries": false,
527
"id": 2,
528
"legend": {
529
"alignAsTable": true,
530
"avg": true,
531
"current": true,
532
"max": true,
533
"min": false,
534
"show": true,
535
"total": false,
536
"values": true
537
},
538
"lines": true,
539
"linewidth": 1,
540
"nullPointMode": "null",
541
"options": {
542
"alertThreshold": true
543
},
544
"percentage": false,
545
"pluginVersion": "8.1.2",
546
"pointradius": 2,
547
"points": false,
548
"renderer": "flot",
549
"seriesOverrides": [],
550
"spaceLength": 10,
551
"stack": false,
552
"steppedLine": false,
553
"targets": [
554
{
555
"expr": "sum(\n rate(container_cpu_usage_seconds_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",
556
"interval": "",
557
"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Cores being used",
558
"queryType": "randomWalk",
559
"refId": "A"
560
}
561
],
562
"thresholds": [],
563
"timeFrom": null,
564
"timeRegions": [],
565
"timeShift": null,
566
"title": "CPU Utilization",
567
"tooltip": {
568
"shared": true,
569
"sort": 2,
570
"value_type": "individual"
571
},
572
"type": "graph",
573
"xaxis": {
574
"buckets": null,
575
"mode": "time",
576
"name": null,
577
"show": true,
578
"values": []
579
},
580
"yaxes": [
581
{
582
"decimals": 2,
583
"format": "short",
584
"label": null,
585
"logBase": 1,
586
"max": null,
587
"min": "0",
588
"show": true
589
},
590
{
591
"format": "short",
592
"label": null,
593
"logBase": 1,
594
"max": null,
595
"min": null,
596
"show": true
597
}
598
],
599
"yaxis": {
600
"align": false,
601
"alignLevel": null
602
}
603
},
604
{
605
"aliasColors": {},
606
"bars": false,
607
"dashLength": 10,
608
"dashes": false,
609
"datasource": "$datasource",
610
"description": "Saturation > 100% means that the container is requesting more than its limits.\n\nKubernetes will start to throttle CPU when that happens. That's a sign of degraded performance.\n\n'No Data' indicates that the pod has no CPU limits.",
611
"fill": 1,
612
"fillGradient": 0,
613
"gridPos": {
614
"h": 7,
615
"w": 7,
616
"x": 17,
617
"y": 2
618
},
619
"hiddenSeries": false,
620
"id": 4,
621
"legend": {
622
"avg": false,
623
"current": false,
624
"max": false,
625
"min": false,
626
"show": true,
627
"total": false,
628
"values": false
629
},
630
"lines": true,
631
"linewidth": 1,
632
"nullPointMode": "null",
633
"options": {
634
"alertThreshold": true
635
},
636
"percentage": false,
637
"pluginVersion": "8.1.2",
638
"pointradius": 2,
639
"points": false,
640
"renderer": "flot",
641
"seriesOverrides": [
642
{
643
"alias": "/.*CPU Throttles/",
644
"yaxis": 2
645
}
646
],
647
"spaceLength": 10,
648
"stack": false,
649
"steppedLine": false,
650
"targets": [
651
{
652
"expr": "sum(\n rate(container_cpu_usage_seconds_total{container!=\"POD\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)\n/\nsum(\n kube_pod_container_resource_limits_cpu_cores{container!=\"POD\", cluster=\"$cluster\", pod=~\"$pod\"}\n) by (pod, cluster, node)\n",
653
"interval": "",
654
"legendFormat": "{{cluster}} - {{node} - {{pod}} - CPU Saturation",
655
"queryType": "randomWalk",
656
"refId": "A"
657
},
658
{
659
"expr": "sum(\nrate(container_cpu_cfs_throttled_seconds_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod)",
660
"interval": "",
661
"legendFormat": "{{pod}} - CPU Throttles",
662
"queryType": "randomWalk",
663
"refId": "B"
664
}
665
],
666
"thresholds": [],
667
"timeFrom": null,
668
"timeRegions": [],
669
"timeShift": null,
670
"title": "CPU Saturation",
671
"tooltip": {
672
"shared": true,
673
"sort": 2,
674
"value_type": "individual"
675
},
676
"type": "graph",
677
"xaxis": {
678
"buckets": null,
679
"mode": "time",
680
"name": null,
681
"show": true,
682
"values": []
683
},
684
"yaxes": [
685
{
686
"decimals": 2,
687
"format": "percentunit",
688
"label": null,
689
"logBase": 1,
690
"max": null,
691
"min": "0",
692
"show": true
693
},
694
{
695
"format": "s",
696
"label": null,
697
"logBase": 1,
698
"max": null,
699
"min": "0",
700
"show": true
701
}
702
],
703
"yaxis": {
704
"align": false,
705
"alignLevel": null
706
}
707
},
708
{
709
"aliasColors": {},
710
"bars": false,
711
"dashLength": 10,
712
"dashes": false,
713
"datasource": "$datasource",
714
"fill": 1,
715
"fillGradient": 0,
716
"gridPos": {
717
"h": 7,
718
"w": 12,
719
"x": 0,
720
"y": 9
721
},
722
"hiddenSeries": false,
723
"id": 6,
724
"legend": {
725
"alignAsTable": true,
726
"avg": true,
727
"current": true,
728
"max": true,
729
"min": false,
730
"show": true,
731
"total": false,
732
"values": true
733
},
734
"lines": true,
735
"linewidth": 1,
736
"nullPointMode": "null",
737
"options": {
738
"alertThreshold": true
739
},
740
"percentage": false,
741
"pluginVersion": "8.1.2",
742
"pointradius": 2,
743
"points": false,
744
"renderer": "flot",
745
"seriesOverrides": [],
746
"spaceLength": 10,
747
"stack": false,
748
"steppedLine": false,
749
"targets": [
750
{
751
"expr": "sum(container_memory_working_set_bytes{container!=\"POD\", container!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}) by (pod, cluster, node)",
752
"interval": "",
753
"legendFormat": "{{cluster}} - {{node}} - {{pod}}",
754
"queryType": "randomWalk",
755
"refId": "A"
756
}
757
],
758
"thresholds": [],
759
"timeFrom": null,
760
"timeRegions": [],
761
"timeShift": null,
762
"title": "Memory Utilization",
763
"tooltip": {
764
"shared": true,
765
"sort": 2,
766
"value_type": "individual"
767
},
768
"type": "graph",
769
"xaxis": {
770
"buckets": null,
771
"mode": "time",
772
"name": null,
773
"show": true,
774
"values": []
775
},
776
"yaxes": [
777
{
778
"format": "bytes",
779
"label": null,
780
"logBase": 1,
781
"max": null,
782
"min": "0",
783
"show": true
784
},
785
{
786
"format": "short",
787
"label": null,
788
"logBase": 1,
789
"max": null,
790
"min": null,
791
"show": true
792
}
793
],
794
"yaxis": {
795
"align": false,
796
"alignLevel": null
797
}
798
},
799
{
800
"aliasColors": {},
801
"bars": false,
802
"dashLength": 10,
803
"dashes": false,
804
"datasource": "$datasource",
805
"decimals": 4,
806
"description": "Memory can't be throttled. When a container reaches 100% of its memory limits, Kubernetes will kill the container and restart it.\n\n'No Data' indicates that the pod doesn't have Memory limits.",
807
"fill": 1,
808
"fillGradient": 0,
809
"gridPos": {
810
"h": 7,
811
"w": 12,
812
"x": 12,
813
"y": 9
814
},
815
"hiddenSeries": false,
816
"id": 8,
817
"legend": {
818
"alignAsTable": true,
819
"avg": true,
820
"current": true,
821
"max": true,
822
"min": false,
823
"show": true,
824
"total": false,
825
"values": true
826
},
827
"lines": true,
828
"linewidth": 1,
829
"nullPointMode": "null",
830
"options": {
831
"alertThreshold": true
832
},
833
"percentage": false,
834
"pluginVersion": "8.1.2",
835
"pointradius": 2,
836
"points": false,
837
"renderer": "flot",
838
"seriesOverrides": [],
839
"spaceLength": 10,
840
"stack": false,
841
"steppedLine": false,
842
"targets": [
843
{
844
"expr": "sum(\nrate(container_memory_working_set_bytes{container!=\"POD\", container!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)\n/\nsum(\n kube_pod_container_resource_limits{container!=\"POD\", cluster=\"$cluster\", pod=~\"$pod\", resource=\"memory\"}\n) by (pod, cluster, node)\n",
845
"interval": "",
846
"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Memory Saturation",
847
"queryType": "randomWalk",
848
"refId": "A"
849
}
850
],
851
"thresholds": [],
852
"timeFrom": null,
853
"timeRegions": [],
854
"timeShift": null,
855
"title": "Memory Saturation",
856
"tooltip": {
857
"shared": true,
858
"sort": 2,
859
"value_type": "individual"
860
},
861
"type": "graph",
862
"xaxis": {
863
"buckets": null,
864
"mode": "time",
865
"name": null,
866
"show": true,
867
"values": []
868
},
869
"yaxes": [
870
{
871
"decimals": 2,
872
"format": "percentunit",
873
"label": null,
874
"logBase": 1,
875
"max": null,
876
"min": "0",
877
"show": true
878
},
879
{
880
"format": "short",
881
"label": null,
882
"logBase": 1,
883
"max": null,
884
"min": null,
885
"show": true
886
}
887
],
888
"yaxis": {
889
"align": false,
890
"alignLevel": null
891
}
892
},
893
{
894
"aliasColors": {},
895
"bars": false,
896
"dashLength": 10,
897
"dashes": false,
898
"datasource": "$datasource",
899
"fill": 1,
900
"fillGradient": 0,
901
"gridPos": {
902
"h": 7,
903
"w": 8,
904
"x": 0,
905
"y": 16
906
},
907
"hiddenSeries": false,
908
"id": 10,
909
"legend": {
910
"alignAsTable": true,
911
"avg": false,
912
"current": true,
913
"max": false,
914
"min": false,
915
"show": true,
916
"total": false,
917
"values": true
918
},
919
"lines": true,
920
"linewidth": 1,
921
"nullPointMode": "null",
922
"options": {
923
"alertThreshold": true
924
},
925
"percentage": false,
926
"pluginVersion": "8.1.2",
927
"pointradius": 2,
928
"points": false,
929
"renderer": "flot",
930
"seriesOverrides": [],
931
"spaceLength": 10,
932
"stack": false,
933
"steppedLine": false,
934
"targets": [
935
{
936
"expr": "sum (\n rate(container_network_receive_bytes_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",
937
"interval": "",
938
"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Received",
939
"queryType": "randomWalk",
940
"refId": "A"
941
},
942
{
943
"expr": "sum (\n rate(container_network_transmit_bytes_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",
944
"interval": "",
945
"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Transmitted",
946
"queryType": "randomWalk",
947
"refId": "B"
948
}
949
],
950
"thresholds": [],
951
"timeFrom": null,
952
"timeRegions": [],
953
"timeShift": null,
954
"title": "Network Utilization",
955
"tooltip": {
956
"shared": true,
957
"sort": 2,
958
"value_type": "individual"
959
},
960
"type": "graph",
961
"xaxis": {
962
"buckets": null,
963
"mode": "time",
964
"name": null,
965
"show": true,
966
"values": []
967
},
968
"yaxes": [
969
{
970
"format": "binBps",
971
"label": null,
972
"logBase": 1,
973
"max": null,
974
"min": "0",
975
"show": true
976
},
977
{
978
"format": "short",
979
"label": null,
980
"logBase": 1,
981
"max": null,
982
"min": null,
983
"show": true
984
}
985
],
986
"yaxis": {
987
"align": false,
988
"alignLevel": null
989
}
990
},
991
{
992
"aliasColors": {},
993
"bars": false,
994
"dashLength": 10,
995
"dashes": false,
996
"datasource": "$datasource",
997
"fill": 1,
998
"fillGradient": 0,
999
"gridPos": {
1000
"h": 7,
1001
"w": 8,
1002
"x": 8,
1003
"y": 16
1004
},
1005
"hiddenSeries": false,
1006
"id": 12,
1007
"legend": {
1008
"alignAsTable": true,
1009
"avg": false,
1010
"current": true,
1011
"max": false,
1012
"min": false,
1013
"rightSide": false,
1014
"show": true,
1015
"total": false,
1016
"values": true
1017
},
1018
"lines": true,
1019
"linewidth": 1,
1020
"nullPointMode": "null",
1021
"options": {
1022
"alertThreshold": true
1023
},
1024
"percentage": false,
1025
"pluginVersion": "8.1.2",
1026
"pointradius": 2,
1027
"points": false,
1028
"renderer": "flot",
1029
"seriesOverrides": [],
1030
"spaceLength": 10,
1031
"stack": false,
1032
"steppedLine": false,
1033
"targets": [
1034
{
1035
"expr": "sum (\n rate(container_network_receive_packets_dropped_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",
1036
"interval": "",
1037
"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Receive",
1038
"queryType": "randomWalk",
1039
"refId": "A"
1040
},
1041
{
1042
"expr": "sum (\n rate(container_network_transmit_packets_dropped_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",
1043
"interval": "",
1044
"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Transmit",
1045
"queryType": "randomWalk",
1046
"refId": "B"
1047
}
1048
],
1049
"thresholds": [],
1050
"timeFrom": null,
1051
"timeRegions": [],
1052
"timeShift": null,
1053
"title": "Network Saturation (Packets Dropped)",
1054
"tooltip": {
1055
"shared": true,
1056
"sort": 2,
1057
"value_type": "individual"
1058
},
1059
"type": "graph",
1060
"xaxis": {
1061
"buckets": null,
1062
"mode": "time",
1063
"name": null,
1064
"show": true,
1065
"values": []
1066
},
1067
"yaxes": [
1068
{
1069
"decimals": 2,
1070
"format": "pps",
1071
"label": null,
1072
"logBase": 1,
1073
"max": null,
1074
"min": "0",
1075
"show": true
1076
},
1077
{
1078
"format": "short",
1079
"label": null,
1080
"logBase": 1,
1081
"max": null,
1082
"min": null,
1083
"show": true
1084
}
1085
],
1086
"yaxis": {
1087
"align": false,
1088
"alignLevel": null
1089
}
1090
},
1091
{
1092
"aliasColors": {},
1093
"bars": false,
1094
"dashLength": 10,
1095
"dashes": false,
1096
"datasource": "$datasource",
1097
"fill": 1,
1098
"fillGradient": 0,
1099
"gridPos": {
1100
"h": 7,
1101
"w": 8,
1102
"x": 16,
1103
"y": 16
1104
},
1105
"hiddenSeries": false,
1106
"id": 14,
1107
"legend": {
1108
"alignAsTable": true,
1109
"avg": false,
1110
"current": true,
1111
"max": false,
1112
"min": false,
1113
"show": true,
1114
"total": false,
1115
"values": true
1116
},
1117
"lines": true,
1118
"linewidth": 1,
1119
"nullPointMode": "null",
1120
"options": {
1121
"alertThreshold": true
1122
},
1123
"percentage": false,
1124
"pluginVersion": "8.1.2",
1125
"pointradius": 2,
1126
"points": false,
1127
"renderer": "flot",
1128
"seriesOverrides": [],
1129
"spaceLength": 10,
1130
"stack": false,
1131
"steppedLine": false,
1132
"targets": [
1133
{
1134
"expr": "sum (\n rate(container_network_receive_errors_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",
1135
"interval": "",
1136
"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Received",
1137
"queryType": "randomWalk",
1138
"refId": "A"
1139
},
1140
{
1141
"expr": "sum (\n rate(container_network_transmit_errors_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",
1142
"interval": "",
1143
"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Transmitted",
1144
"queryType": "randomWalk",
1145
"refId": "B"
1146
}
1147
],
1148
"thresholds": [],
1149
"timeFrom": null,
1150
"timeRegions": [],
1151
"timeShift": null,
1152
"title": "Network Errors",
1153
"tooltip": {
1154
"shared": true,
1155
"sort": 2,
1156
"value_type": "individual"
1157
},
1158
"type": "graph",
1159
"xaxis": {
1160
"buckets": null,
1161
"mode": "time",
1162
"name": null,
1163
"show": true,
1164
"values": []
1165
},
1166
"yaxes": [
1167
{
1168
"decimals": 2,
1169
"format": "Errors/s",
1170
"label": null,
1171
"logBase": 1,
1172
"max": null,
1173
"min": "0",
1174
"show": true
1175
},
1176
{
1177
"format": "short",
1178
"label": null,
1179
"logBase": 1,
1180
"max": null,
1181
"min": null,
1182
"show": true
1183
}
1184
],
1185
"yaxis": {
1186
"align": false,
1187
"alignLevel": null
1188
}
1189
},
1190
{
1191
"aliasColors": {},
1192
"bars": false,
1193
"dashLength": 10,
1194
"dashes": false,
1195
"datasource": "$datasource",
1196
"decimals": 4,
1197
"description": "",
1198
"fill": 1,
1199
"fillGradient": 0,
1200
"gridPos": {
1201
"h": 9,
1202
"w": 8,
1203
"x": 0,
1204
"y": 23
1205
},
1206
"hiddenSeries": false,
1207
"id": 36,
1208
"legend": {
1209
"alignAsTable": true,
1210
"avg": true,
1211
"current": true,
1212
"max": true,
1213
"min": false,
1214
"show": true,
1215
"total": false,
1216
"values": true
1217
},
1218
"lines": true,
1219
"linewidth": 1,
1220
"nullPointMode": "null",
1221
"options": {
1222
"alertThreshold": true
1223
},
1224
"percentage": false,
1225
"pluginVersion": "8.1.2",
1226
"pointradius": 2,
1227
"points": false,
1228
"renderer": "flot",
1229
"seriesOverrides": [],
1230
"spaceLength": 10,
1231
"stack": false,
1232
"steppedLine": false,
1233
"targets": [
1234
{
1235
"expr": "rate(kube_pod_container_status_restarts_total{cluster=~\"$cluster\", pod=~\"$pod\"}[1m])",
1236
"interval": "",
1237
"legendFormat": "{{cluster}} - {{kubernetes_pod_node_name}} - {{pod}} ",
1238
"queryType": "randomWalk",
1239
"refId": "A"
1240
}
1241
],
1242
"thresholds": [],
1243
"timeFrom": null,
1244
"timeRegions": [],
1245
"timeShift": null,
1246
"title": "Pod Restarts",
1247
"tooltip": {
1248
"shared": true,
1249
"sort": 2,
1250
"value_type": "individual"
1251
},
1252
"type": "graph",
1253
"xaxis": {
1254
"buckets": null,
1255
"mode": "time",
1256
"name": null,
1257
"show": true,
1258
"values": []
1259
},
1260
"yaxes": [
1261
{
1262
"decimals": 2,
1263
"format": "short",
1264
"label": null,
1265
"logBase": 1,
1266
"max": null,
1267
"min": "0",
1268
"show": true
1269
},
1270
{
1271
"format": "short",
1272
"label": null,
1273
"logBase": 1,
1274
"max": null,
1275
"min": null,
1276
"show": true
1277
}
1278
],
1279
"yaxis": {
1280
"align": false,
1281
"alignLevel": null
1282
}
1283
},
1284
{
1285
"aliasColors": {},
1286
"bars": false,
1287
"dashLength": 10,
1288
"dashes": false,
1289
"datasource": "$datasource",
1290
"decimals": 0,
1291
"description": "",
1292
"fill": 1,
1293
"fillGradient": 0,
1294
"gridPos": {
1295
"h": 9,
1296
"w": 8,
1297
"x": 8,
1298
"y": 23
1299
},
1300
"hiddenSeries": false,
1301
"id": 42,
1302
"legend": {
1303
"alignAsTable": true,
1304
"avg": false,
1305
"current": true,
1306
"max": false,
1307
"min": false,
1308
"show": true,
1309
"total": false,
1310
"values": true
1311
},
1312
"lines": true,
1313
"linewidth": 1,
1314
"nullPointMode": "null",
1315
"options": {
1316
"alertThreshold": true
1317
},
1318
"percentage": false,
1319
"pluginVersion": "8.1.2",
1320
"pointradius": 2,
1321
"points": false,
1322
"renderer": "flot",
1323
"seriesOverrides": [],
1324
"spaceLength": 10,
1325
"stack": false,
1326
"steppedLine": false,
1327
"targets": [
1328
{
1329
"expr": "kube_pod_container_status_running{cluster=~\"$cluster\", pod=~\"$pod\"} == 1 ",
1330
"interval": "",
1331
"legendFormat": "{{pod}} - RUNNING",
1332
"queryType": "randomWalk",
1333
"refId": "A"
1334
},
1335
{
1336
"expr": "(\n sum by (pod) (kube_pod_container_status_terminated{cluster=~\"$cluster\", pod=~\"$pod\"}) == 1\n) * on(pod) group_left(reason) (\n sum by (pod, reason) (kube_pod_container_status_terminated_reason{cluster=~\"$cluster\", pod=~\"$pod\"}) == 1\n)",
1337
"interval": "",
1338
"legendFormat": "{{pod}} - TERMINATED -> {{reason}}",
1339
"queryType": "randomWalk",
1340
"refId": "B"
1341
},
1342
{
1343
"expr": "(\n sum by (pod) (kube_pod_container_status_waiting{cluster=~\"$cluster\", pod=~\"$pod\"}) == 1\n) * on(pod) group_left(reason) (\n sum by (pod, reason) (kube_pod_container_status_waiting_reason{cluster=~\"$cluster\", pod=~\"$pod\"}) == 1\n)",
1344
"interval": "",
1345
"legendFormat": "{{pod}} - WAITING -> {{reason}}",
1346
"queryType": "randomWalk",
1347
"refId": "C"
1348
}
1349
],
1350
"thresholds": [],
1351
"timeFrom": null,
1352
"timeRegions": [],
1353
"timeShift": null,
1354
"title": "Pod Status",
1355
"tooltip": {
1356
"shared": true,
1357
"sort": 2,
1358
"value_type": "individual"
1359
},
1360
"type": "graph",
1361
"xaxis": {
1362
"buckets": null,
1363
"mode": "time",
1364
"name": null,
1365
"show": true,
1366
"values": []
1367
},
1368
"yaxes": [
1369
{
1370
"decimals": 0,
1371
"format": "short",
1372
"label": null,
1373
"logBase": 1,
1374
"max": null,
1375
"min": null,
1376
"show": true
1377
},
1378
{
1379
"format": "short",
1380
"label": null,
1381
"logBase": 1,
1382
"max": null,
1383
"min": null,
1384
"show": true
1385
}
1386
],
1387
"yaxis": {
1388
"align": false,
1389
"alignLevel": null
1390
}
1391
},
1392
{
1393
"aliasColors": {},
1394
"bars": false,
1395
"dashLength": 10,
1396
"dashes": false,
1397
"datasource": "$datasource",
1398
"decimals": 0,
1399
"fill": 1,
1400
"fillGradient": 0,
1401
"gridPos": {
1402
"h": 9,
1403
"w": 8,
1404
"x": 16,
1405
"y": 23
1406
},
1407
"hiddenSeries": false,
1408
"id": 40,
1409
"legend": {
1410
"alignAsTable": true,
1411
"avg": false,
1412
"current": true,
1413
"max": false,
1414
"min": false,
1415
"show": true,
1416
"total": false,
1417
"values": true
1418
},
1419
"lines": true,
1420
"linewidth": 1,
1421
"nullPointMode": "null",
1422
"options": {
1423
"alertThreshold": true
1424
},
1425
"percentage": false,
1426
"pluginVersion": "8.1.2",
1427
"pointradius": 2,
1428
"points": false,
1429
"renderer": "flot",
1430
"seriesOverrides": [],
1431
"spaceLength": 10,
1432
"stack": false,
1433
"steppedLine": false,
1434
"targets": [
1435
{
1436
"expr": "kube_deployment_spec_replicas{cluster=~\"$cluster\", deployment=\"content-service\"}",
1437
"interval": "",
1438
"legendFormat": "{{cluster}} - {{deployment}} - Desired",
1439
"queryType": "randomWalk",
1440
"refId": "C"
1441
},
1442
{
1443
"expr": "kube_deployment_status_replicas_available{cluster=~\"$cluster\", deployment=\"content-service\"}",
1444
"interval": "",
1445
"legendFormat": "{{cluster}} - {{deployment}} - Available replicas",
1446
"queryType": "randomWalk",
1447
"refId": "A"
1448
},
1449
{
1450
"expr": "kube_deployment_status_replicas_unavailable{cluster=~\"$cluster\", deployment=\"content-service\"}",
1451
"interval": "",
1452
"legendFormat": "{{cluster}} - {{deployment}} - Unvailable replicas",
1453
"queryType": "randomWalk",
1454
"refId": "B"
1455
}
1456
],
1457
"thresholds": [],
1458
"timeFrom": null,
1459
"timeRegions": [],
1460
"timeShift": null,
1461
"title": "Replicas availability",
1462
"tooltip": {
1463
"shared": true,
1464
"sort": 2,
1465
"value_type": "individual"
1466
},
1467
"type": "graph",
1468
"xaxis": {
1469
"buckets": null,
1470
"mode": "time",
1471
"name": null,
1472
"show": true,
1473
"values": []
1474
},
1475
"yaxes": [
1476
{
1477
"decimals": 0,
1478
"format": "short",
1479
"label": null,
1480
"logBase": 1,
1481
"max": null,
1482
"min": null,
1483
"show": true
1484
},
1485
{
1486
"format": "short",
1487
"label": null,
1488
"logBase": 1,
1489
"max": null,
1490
"min": null,
1491
"show": true
1492
}
1493
],
1494
"yaxis": {
1495
"align": false,
1496
"alignLevel": null
1497
}
1498
},
1499
{
1500
"collapsed": true,
1501
"datasource": null,
1502
"fieldConfig": {
1503
"defaults": {},
1504
"overrides": []
1505
},
1506
"gridPos": {
1507
"h": 1,
1508
"w": 24,
1509
"x": 0,
1510
"y": 32
1511
},
1512
"id": 22,
1513
"panels": [
1514
{
1515
"aliasColors": {},
1516
"bars": false,
1517
"dashLength": 10,
1518
"dashes": false,
1519
"datasource": "$datasource",
1520
"fieldConfig": {
1521
"defaults": {
1522
"custom": {}
1523
},
1524
"overrides": []
1525
},
1526
"fill": 1,
1527
"fillGradient": 0,
1528
"gridPos": {
1529
"h": 10,
1530
"w": 12,
1531
"x": 0,
1532
"y": 2
1533
},
1534
"hiddenSeries": false,
1535
"id": 32,
1536
"legend": {
1537
"alignAsTable": true,
1538
"avg": true,
1539
"current": true,
1540
"max": true,
1541
"min": false,
1542
"show": true,
1543
"total": false,
1544
"values": true
1545
},
1546
"lines": true,
1547
"linewidth": 1,
1548
"nullPointMode": "null",
1549
"options": {
1550
"alertThreshold": true
1551
},
1552
"percentage": false,
1553
"pluginVersion": "7.4.3",
1554
"pointradius": 2,
1555
"points": false,
1556
"renderer": "flot",
1557
"seriesOverrides": [],
1558
"spaceLength": 10,
1559
"stack": false,
1560
"steppedLine": false,
1561
"targets": [
1562
{
1563
"expr": "process_resident_memory_bytes{cluster=~\"$cluster\", job=~\"content-service\"}",
1564
"interval": "",
1565
"legendFormat": "{{cluster}} - {{pod}}",
1566
"queryType": "randomWalk",
1567
"refId": "A"
1568
}
1569
],
1570
"thresholds": [],
1571
"timeFrom": null,
1572
"timeRegions": [],
1573
"timeShift": null,
1574
"title": "Memory Usage (as seen by the runtime process)",
1575
"tooltip": {
1576
"shared": true,
1577
"sort": 0,
1578
"value_type": "individual"
1579
},
1580
"type": "graph",
1581
"xaxis": {
1582
"buckets": null,
1583
"mode": "time",
1584
"name": null,
1585
"show": true,
1586
"values": []
1587
},
1588
"yaxes": [
1589
{
1590
"format": "bytes",
1591
"label": null,
1592
"logBase": 1,
1593
"max": null,
1594
"min": "0",
1595
"show": true
1596
},
1597
{
1598
"format": "short",
1599
"label": null,
1600
"logBase": 1,
1601
"max": null,
1602
"min": null,
1603
"show": true
1604
}
1605
],
1606
"yaxis": {
1607
"align": false,
1608
"alignLevel": null
1609
}
1610
},
1611
{
1612
"aliasColors": {},
1613
"bars": false,
1614
"dashLength": 10,
1615
"dashes": false,
1616
"datasource": "$datasource",
1617
"decimals": 2,
1618
"editable": true,
1619
"error": false,
1620
"fieldConfig": {
1621
"defaults": {
1622
"custom": {}
1623
},
1624
"overrides": []
1625
},
1626
"fill": 1,
1627
"fillGradient": 0,
1628
"gridPos": {
1629
"h": 10,
1630
"w": 12,
1631
"x": 12,
1632
"y": 2
1633
},
1634
"hiddenSeries": false,
1635
"id": 34,
1636
"legend": {
1637
"alignAsTable": true,
1638
"avg": true,
1639
"current": true,
1640
"hideEmpty": false,
1641
"max": true,
1642
"min": false,
1643
"rightSide": false,
1644
"show": true,
1645
"total": false,
1646
"values": true
1647
},
1648
"lines": true,
1649
"linewidth": 1,
1650
"links": [],
1651
"nullPointMode": "null",
1652
"options": {
1653
"alertThreshold": true
1654
},
1655
"percentage": false,
1656
"pluginVersion": "7.4.3",
1657
"pointradius": 5,
1658
"points": false,
1659
"renderer": "flot",
1660
"seriesOverrides": [],
1661
"spaceLength": 10,
1662
"stack": false,
1663
"steppedLine": false,
1664
"targets": [
1665
{
1666
"expr": "rate(process_cpu_seconds_total{cluster=~\"$cluster\", job=~\"content-service\"}[1m])",
1667
"interval": "",
1668
"intervalFactor": 2,
1669
"legendFormat": "{{cluster}} - {{pod}}",
1670
"metric": "prometheus_local_storage_ingested_samples_total",
1671
"refId": "A",
1672
"step": 10
1673
}
1674
],
1675
"thresholds": [],
1676
"timeFrom": null,
1677
"timeRegions": [],
1678
"timeShift": null,
1679
"title": "CPU Usage (as seen by the runtime process)",
1680
"tooltip": {
1681
"msResolution": false,
1682
"shared": true,
1683
"sort": 2,
1684
"value_type": "individual"
1685
},
1686
"type": "graph",
1687
"xaxis": {
1688
"buckets": null,
1689
"mode": "time",
1690
"name": null,
1691
"show": true,
1692
"values": [
1693
"avg"
1694
]
1695
},
1696
"yaxes": [
1697
{
1698
"decimals": 2,
1699
"format": "none",
1700
"label": null,
1701
"logBase": 1,
1702
"max": null,
1703
"min": "0",
1704
"show": true
1705
},
1706
{
1707
"format": "short",
1708
"label": null,
1709
"logBase": 1,
1710
"max": null,
1711
"min": null,
1712
"show": true
1713
}
1714
],
1715
"yaxis": {
1716
"align": false,
1717
"alignLevel": null
1718
}
1719
},
1720
{
1721
"aliasColors": {},
1722
"bars": false,
1723
"dashLength": 10,
1724
"dashes": false,
1725
"datasource": "$datasource",
1726
"fieldConfig": {
1727
"defaults": {
1728
"custom": {}
1729
},
1730
"overrides": []
1731
},
1732
"fill": 1,
1733
"fillGradient": 0,
1734
"gridPos": {
1735
"h": 9,
1736
"w": 12,
1737
"x": 0,
1738
"y": 12
1739
},
1740
"hiddenSeries": false,
1741
"id": 26,
1742
"legend": {
1743
"alignAsTable": true,
1744
"avg": true,
1745
"current": true,
1746
"max": true,
1747
"min": false,
1748
"show": true,
1749
"total": false,
1750
"values": true
1751
},
1752
"lines": true,
1753
"linewidth": 1,
1754
"nullPointMode": "null",
1755
"options": {
1756
"alertThreshold": true
1757
},
1758
"percentage": false,
1759
"pluginVersion": "7.4.3",
1760
"pointradius": 2,
1761
"points": false,
1762
"renderer": "flot",
1763
"seriesOverrides": [],
1764
"spaceLength": 10,
1765
"stack": false,
1766
"steppedLine": false,
1767
"targets": [
1768
{
1769
"expr": "go_memstats_heap_sys_bytes{cluster=~\"$cluster\", job=~\"content-service\"}",
1770
"interval": "",
1771
"legendFormat": "{{cluster}} - {{pod}}",
1772
"queryType": "randomWalk",
1773
"refId": "A"
1774
}
1775
],
1776
"thresholds": [],
1777
"timeFrom": null,
1778
"timeRegions": [],
1779
"timeShift": null,
1780
"title": "Heap Usage",
1781
"tooltip": {
1782
"shared": true,
1783
"sort": 2,
1784
"value_type": "individual"
1785
},
1786
"type": "graph",
1787
"xaxis": {
1788
"buckets": null,
1789
"mode": "time",
1790
"name": null,
1791
"show": true,
1792
"values": []
1793
},
1794
"yaxes": [
1795
{
1796
"format": "bytes",
1797
"label": null,
1798
"logBase": 1,
1799
"max": null,
1800
"min": "0",
1801
"show": true
1802
},
1803
{
1804
"format": "short",
1805
"label": null,
1806
"logBase": 1,
1807
"max": null,
1808
"min": null,
1809
"show": true
1810
}
1811
],
1812
"yaxis": {
1813
"align": false,
1814
"alignLevel": null
1815
}
1816
},
1817
{
1818
"aliasColors": {},
1819
"bars": false,
1820
"dashLength": 10,
1821
"dashes": false,
1822
"datasource": "$datasource",
1823
"fieldConfig": {
1824
"defaults": {
1825
"custom": {},
1826
"links": []
1827
},
1828
"overrides": []
1829
},
1830
"fill": 1,
1831
"fillGradient": 0,
1832
"gridPos": {
1833
"h": 9,
1834
"w": 12,
1835
"x": 12,
1836
"y": 12
1837
},
1838
"hiddenSeries": false,
1839
"id": 28,
1840
"legend": {
1841
"alignAsTable": true,
1842
"avg": true,
1843
"current": true,
1844
"max": true,
1845
"min": false,
1846
"show": true,
1847
"total": false,
1848
"values": true
1849
},
1850
"lines": true,
1851
"linewidth": 1,
1852
"nullPointMode": "null",
1853
"options": {
1854
"alertThreshold": true
1855
},
1856
"percentage": false,
1857
"pluginVersion": "7.4.3",
1858
"pointradius": 2,
1859
"points": false,
1860
"renderer": "flot",
1861
"repeat": null,
1862
"repeatDirection": "h",
1863
"seriesOverrides": [
1864
{
1865
"alias": "/GC rate:(.*)/",
1866
"yaxis": 2
1867
}
1868
],
1869
"spaceLength": 10,
1870
"stack": false,
1871
"steppedLine": false,
1872
"targets": [
1873
{
1874
"expr": "rate(go_memstats_alloc_bytes_total{cluster=~\"$cluster\", job=~\"content-service\"}[1m])",
1875
"interval": "",
1876
"legendFormat": "{{cluster}} - {{pod}}",
1877
"refId": "A"
1878
}
1879
],
1880
"thresholds": [],
1881
"timeFrom": null,
1882
"timeRegions": [],
1883
"timeShift": null,
1884
"title": "Memory Allocation rate",
1885
"tooltip": {
1886
"shared": true,
1887
"sort": 2,
1888
"value_type": "individual"
1889
},
1890
"type": "graph",
1891
"xaxis": {
1892
"buckets": null,
1893
"mode": "time",
1894
"name": null,
1895
"show": true,
1896
"values": []
1897
},
1898
"yaxes": [
1899
{
1900
"format": "binBps",
1901
"label": null,
1902
"logBase": 1,
1903
"max": null,
1904
"min": "0",
1905
"show": true
1906
},
1907
{
1908
"format": "short",
1909
"label": null,
1910
"logBase": 1,
1911
"max": null,
1912
"min": null,
1913
"show": true
1914
}
1915
],
1916
"yaxis": {
1917
"align": false,
1918
"alignLevel": null
1919
}
1920
},
1921
{
1922
"aliasColors": {},
1923
"bars": false,
1924
"dashLength": 10,
1925
"dashes": false,
1926
"datasource": "$datasource",
1927
"fieldConfig": {
1928
"defaults": {
1929
"custom": {}
1930
},
1931
"overrides": []
1932
},
1933
"fill": 1,
1934
"fillGradient": 0,
1935
"gridPos": {
1936
"h": 9,
1937
"w": 12,
1938
"x": 0,
1939
"y": 21
1940
},
1941
"hiddenSeries": false,
1942
"id": 24,
1943
"legend": {
1944
"alignAsTable": true,
1945
"avg": true,
1946
"current": true,
1947
"max": true,
1948
"min": false,
1949
"show": true,
1950
"total": false,
1951
"values": true
1952
},
1953
"lines": true,
1954
"linewidth": 1,
1955
"nullPointMode": "null",
1956
"options": {
1957
"alertThreshold": true
1958
},
1959
"percentage": false,
1960
"pluginVersion": "7.4.3",
1961
"pointradius": 2,
1962
"points": false,
1963
"renderer": "flot",
1964
"seriesOverrides": [],
1965
"spaceLength": 10,
1966
"stack": false,
1967
"steppedLine": false,
1968
"targets": [
1969
{
1970
"expr": "go_goroutines{cluster=~\"$cluster\", job=~\"content-service\"}",
1971
"interval": "",
1972
"legendFormat": "{{cluster}} - {{pod}}",
1973
"queryType": "randomWalk",
1974
"refId": "A"
1975
}
1976
],
1977
"thresholds": [],
1978
"timeFrom": null,
1979
"timeRegions": [],
1980
"timeShift": null,
1981
"title": "Go Routines",
1982
"tooltip": {
1983
"shared": true,
1984
"sort": 2,
1985
"value_type": "individual"
1986
},
1987
"type": "graph",
1988
"xaxis": {
1989
"buckets": null,
1990
"mode": "time",
1991
"name": null,
1992
"show": true,
1993
"values": []
1994
},
1995
"yaxes": [
1996
{
1997
"format": "short",
1998
"label": null,
1999
"logBase": 1,
2000
"max": null,
2001
"min": "0",
2002
"show": true
2003
},
2004
{
2005
"format": "short",
2006
"label": null,
2007
"logBase": 1,
2008
"max": null,
2009
"min": null,
2010
"show": true
2011
}
2012
],
2013
"yaxis": {
2014
"align": false,
2015
"alignLevel": null
2016
}
2017
},
2018
{
2019
"aliasColors": {},
2020
"bars": false,
2021
"dashLength": 10,
2022
"dashes": false,
2023
"datasource": "$datasource",
2024
"fieldConfig": {
2025
"defaults": {
2026
"custom": {}
2027
},
2028
"overrides": []
2029
},
2030
"fill": 1,
2031
"fillGradient": 0,
2032
"gridPos": {
2033
"h": 9,
2034
"w": 12,
2035
"x": 12,
2036
"y": 21
2037
},
2038
"hiddenSeries": false,
2039
"id": 44,
2040
"legend": {
2041
"alignAsTable": true,
2042
"avg": true,
2043
"current": true,
2044
"max": true,
2045
"min": false,
2046
"show": true,
2047
"total": false,
2048
"values": true
2049
},
2050
"lines": true,
2051
"linewidth": 1,
2052
"nullPointMode": "null",
2053
"options": {
2054
"alertThreshold": true
2055
},
2056
"percentage": false,
2057
"pluginVersion": "7.4.3",
2058
"pointradius": 2,
2059
"points": false,
2060
"renderer": "flot",
2061
"seriesOverrides": [],
2062
"spaceLength": 10,
2063
"stack": false,
2064
"steppedLine": false,
2065
"targets": [
2066
{
2067
"expr": "go_gc_duration_seconds{cluster=~\"$cluster\", job=~\"content-service\", quantile=\"0.5\"}",
2068
"interval": "",
2069
"legendFormat": "{{cluster}} - {{pod}} - GC Duration - 50th percentile",
2070
"refId": "A"
2071
},
2072
{
2073
"expr": "go_gc_duration_seconds{cluster=~\"$cluster\", job=~\"content-service\", quantile=\"0.75\"}",
2074
"interval": "",
2075
"legendFormat": "{{cluster}} - {{pod}} - GC Duration - 75th percentile",
2076
"refId": "B"
2077
},
2078
{
2079
"expr": "go_gc_duration_seconds{cluster=~\"$cluster\", job=~\"content-service\", quantile=\"1\"}",
2080
"interval": "",
2081
"legendFormat": "{{cluster}} - {{pod}} - GC Duration - 100th percentile",
2082
"refId": "C"
2083
}
2084
],
2085
"thresholds": [],
2086
"timeFrom": null,
2087
"timeRegions": [],
2088
"timeShift": null,
2089
"title": "Garbage collection time",
2090
"tooltip": {
2091
"shared": true,
2092
"sort": 2,
2093
"value_type": "individual"
2094
},
2095
"type": "graph",
2096
"xaxis": {
2097
"buckets": null,
2098
"mode": "time",
2099
"name": null,
2100
"show": true,
2101
"values": []
2102
},
2103
"yaxes": [
2104
{
2105
"format": "s",
2106
"label": null,
2107
"logBase": 1,
2108
"max": null,
2109
"min": "0",
2110
"show": true
2111
},
2112
{
2113
"format": "short",
2114
"label": null,
2115
"logBase": 1,
2116
"max": null,
2117
"min": null,
2118
"show": true
2119
}
2120
],
2121
"yaxis": {
2122
"align": false,
2123
"alignLevel": null
2124
}
2125
}
2126
],
2127
"title": "Go Runtime Metrics",
2128
"type": "row"
2129
}
2130
],
2131
"refresh": "30s",
2132
"schemaVersion": 30,
2133
"style": "dark",
2134
"tags": [
2135
"gitpod-mixin"
2136
],
2137
"templating": {
2138
"list": [
2139
{
2140
"allValue": null,
2141
"current": {},
2142
"datasource": "$datasource",
2143
"definition": "label_values(up{job=\"content-service\"}, cluster)",
2144
"description": null,
2145
"error": null,
2146
"hide": 0,
2147
"includeAll": true,
2148
"label": "Cluster",
2149
"multi": true,
2150
"name": "cluster",
2151
"options": [],
2152
"query": {
2153
"query": "label_values(up{job=\"content-service\"}, cluster)",
2154
"refId": "StandardVariableQuery"
2155
},
2156
"refresh": 2,
2157
"regex": "",
2158
"skipUrlSync": false,
2159
"sort": 0,
2160
"tagValuesQuery": "",
2161
"tagsQuery": "",
2162
"type": "query",
2163
"useTags": false
2164
},
2165
{
2166
"allValue": null,
2167
"current": {},
2168
"datasource": "$datasource",
2169
"definition": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", pod=~\"content-service.*\"}, node)",
2170
"description": null,
2171
"error": null,
2172
"hide": 0,
2173
"includeAll": true,
2174
"label": "Node",
2175
"multi": true,
2176
"name": "node",
2177
"options": [],
2178
"query": {
2179
"query": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", pod=~\"content-service.*\"}, node)",
2180
"refId": "StandardVariableQuery"
2181
},
2182
"refresh": 2,
2183
"regex": "",
2184
"skipUrlSync": false,
2185
"sort": 0,
2186
"tagValuesQuery": "",
2187
"tagsQuery": "",
2188
"type": "query",
2189
"useTags": false
2190
},
2191
{
2192
"allValue": null,
2193
"current": {},
2194
"datasource": "$datasource",
2195
"definition": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", node=~\"$node\", pod=~\"content-service.*\"}, pod)",
2196
"description": null,
2197
"error": null,
2198
"hide": 0,
2199
"includeAll": true,
2200
"label": "Pod",
2201
"multi": true,
2202
"name": "pod",
2203
"options": [],
2204
"query": {
2205
"query": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", node=~\"$node\", pod=~\"content-service.*\"}, pod)",
2206
"refId": "StandardVariableQuery"
2207
},
2208
"refresh": 2,
2209
"regex": "",
2210
"skipUrlSync": false,
2211
"sort": 0,
2212
"tagValuesQuery": "",
2213
"tagsQuery": "",
2214
"type": "query",
2215
"useTags": false
2216
},
2217
{
2218
"current": {
2219
"selected": false,
2220
"text": "VictoriaMetrics",
2221
"value": "VictoriaMetrics"
2222
},
2223
"description": null,
2224
"error": null,
2225
"hide": 2,
2226
"includeAll": false,
2227
"label": null,
2228
"multi": false,
2229
"name": "datasource",
2230
"options": [],
2231
"query": "prometheus",
2232
"refresh": 2,
2233
"regex": "",
2234
"skipUrlSync": false,
2235
"type": "datasource"
2236
},
2237
{
2238
"allValue": null,
2239
"current": {},
2240
"datasource": "$datasource",
2241
"definition": "label_values(grpc_server_handled_total{job=\"content-service\", cluster=~\"$cluster\"}, grpc_method)",
2242
"description": null,
2243
"error": null,
2244
"hide": 0,
2245
"includeAll": true,
2246
"label": "gRPC Method",
2247
"multi": true,
2248
"name": "grpc_method",
2249
"options": [],
2250
"query": {
2251
"query": "label_values(grpc_server_handled_total{job=\"content-service\", cluster=~\"$cluster\"}, grpc_method)",
2252
"refId": "StandardVariableQuery"
2253
},
2254
"refresh": 2,
2255
"regex": "",
2256
"skipUrlSync": false,
2257
"sort": 1,
2258
"tagValuesQuery": "",
2259
"tagsQuery": "",
2260
"type": "query",
2261
"useTags": false
2262
}
2263
]
2264
},
2265
"time": {
2266
"from": "now-1h",
2267
"to": "now"
2268
},
2269
"timepicker": {},
2270
"timezone": "utc",
2271
"title": "Gitpod / Component / content-service",
2272
"uid": "content-service",
2273
"version": 1
2274
}
2275