@cloudcare/guance-front-tools 1.0.5 → 1.0.7

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