@leverege/build-tools 2.99.1 → 2.100.0

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,1575 @@
1
+ {
2
+ "annotations": {
3
+ "list": [
4
+ {
5
+ "builtIn": 1,
6
+ "datasource": {
7
+ "type": "grafana",
8
+ "uid": "-- Grafana --"
9
+ },
10
+ "enable": true,
11
+ "hide": true,
12
+ "iconColor": "rgba(0, 211, 255, 1)",
13
+ "name": "Annotations & Alerts",
14
+ "target": {
15
+ "limit": 100,
16
+ "matchAny": false,
17
+ "tags": [],
18
+ "type": "dashboard"
19
+ },
20
+ "type": "dashboard"
21
+ }
22
+ ]
23
+ },
24
+ "description": "Official dashboard for Traefik on Kubernetes",
25
+ "editable": true,
26
+ "fiscalYearStartMonth": 0,
27
+ "gnetId": 17347,
28
+ "graphTooltip": 0,
29
+ "id": 5,
30
+ "links": [],
31
+ "liveNow": false,
32
+ "panels": [
33
+ {
34
+ "collapsed": false,
35
+ "gridPos": {
36
+ "h": 1,
37
+ "w": 24,
38
+ "x": 0,
39
+ "y": 0
40
+ },
41
+ "id": 9,
42
+ "panels": [],
43
+ "title": "General",
44
+ "type": "row"
45
+ },
46
+ {
47
+ "datasource": {
48
+ "type": "prometheus",
49
+ "uid": "prometheus"
50
+ },
51
+ "description": "",
52
+ "fieldConfig": {
53
+ "defaults": {
54
+ "color": {
55
+ "mode": "thresholds"
56
+ },
57
+ "mappings": [],
58
+ "thresholds": {
59
+ "mode": "absolute",
60
+ "steps": [
61
+ {
62
+ "color": "green",
63
+ "value": null
64
+ },
65
+ {
66
+ "color": "red",
67
+ "value": 80
68
+ }
69
+ ]
70
+ }
71
+ },
72
+ "overrides": []
73
+ },
74
+ "gridPos": {
75
+ "h": 2,
76
+ "w": 5,
77
+ "x": 0,
78
+ "y": 1
79
+ },
80
+ "id": 13,
81
+ "options": {
82
+ "colorMode": "value",
83
+ "graphMode": "area",
84
+ "justifyMode": "auto",
85
+ "orientation": "auto",
86
+ "percentChangeColorMode": "standard",
87
+ "reduceOptions": {
88
+ "calcs": [
89
+ "lastNotNull"
90
+ ],
91
+ "fields": "",
92
+ "values": false
93
+ },
94
+ "showPercentChange": false,
95
+ "textMode": "auto",
96
+ "wideLayout": true
97
+ },
98
+ "pluginVersion": "11.2.2+security-01",
99
+ "targets": [
100
+ {
101
+ "datasource": {
102
+ "type": "prometheus",
103
+ "uid": "prometheus"
104
+ },
105
+ "editorMode": "code",
106
+ "expr": "count(traefik_config_reloads_total)",
107
+ "legendFormat": "__auto",
108
+ "range": true,
109
+ "refId": "A"
110
+ }
111
+ ],
112
+ "title": "Traefik Instances",
113
+ "type": "stat"
114
+ },
115
+ {
116
+ "datasource": {
117
+ "type": "prometheus",
118
+ "uid": "prometheus"
119
+ },
120
+ "description": "",
121
+ "fieldConfig": {
122
+ "defaults": {
123
+ "color": {
124
+ "mode": "palette-classic"
125
+ },
126
+ "custom": {
127
+ "axisBorderShow": false,
128
+ "axisCenteredZero": false,
129
+ "axisColorMode": "text",
130
+ "axisLabel": "",
131
+ "axisPlacement": "auto",
132
+ "barAlignment": 0,
133
+ "barWidthFactor": 0.6,
134
+ "drawStyle": "line",
135
+ "fillOpacity": 0,
136
+ "gradientMode": "none",
137
+ "hideFrom": {
138
+ "legend": false,
139
+ "tooltip": false,
140
+ "viz": false
141
+ },
142
+ "insertNulls": false,
143
+ "lineInterpolation": "linear",
144
+ "lineWidth": 1,
145
+ "pointSize": 5,
146
+ "scaleDistribution": {
147
+ "type": "linear"
148
+ },
149
+ "showPoints": "auto",
150
+ "spanNulls": false,
151
+ "stacking": {
152
+ "group": "A",
153
+ "mode": "none"
154
+ },
155
+ "thresholdsStyle": {
156
+ "mode": "off"
157
+ }
158
+ },
159
+ "mappings": [],
160
+ "thresholds": {
161
+ "mode": "absolute",
162
+ "steps": [
163
+ {
164
+ "color": "green",
165
+ "value": null
166
+ },
167
+ {
168
+ "color": "red",
169
+ "value": 80
170
+ }
171
+ ]
172
+ },
173
+ "unit": "reqps"
174
+ },
175
+ "overrides": []
176
+ },
177
+ "gridPos": {
178
+ "h": 8,
179
+ "w": 7,
180
+ "x": 5,
181
+ "y": 1
182
+ },
183
+ "id": 7,
184
+ "options": {
185
+ "legend": {
186
+ "calcs": [
187
+ "mean",
188
+ "max"
189
+ ],
190
+ "displayMode": "table",
191
+ "placement": "bottom",
192
+ "showLegend": true,
193
+ "sortBy": "Max",
194
+ "sortDesc": true
195
+ },
196
+ "tooltip": {
197
+ "mode": "multi",
198
+ "sort": "desc"
199
+ }
200
+ },
201
+ "targets": [
202
+ {
203
+ "datasource": {
204
+ "type": "prometheus",
205
+ "uid": "prometheus"
206
+ },
207
+ "editorMode": "code",
208
+ "expr": "sum(rate(traefik_entrypoint_requests_total{entrypoint=~\"$entrypoint\"}[$interval])) by (entrypoint)",
209
+ "legendFormat": "{{entrypoint}}",
210
+ "range": true,
211
+ "refId": "A"
212
+ }
213
+ ],
214
+ "title": "Requests per Entrypoint",
215
+ "type": "timeseries"
216
+ },
217
+ {
218
+ "datasource": {
219
+ "type": "prometheus",
220
+ "uid": "prometheus"
221
+ },
222
+ "description": "https://medium.com/@tristan_96324/prometheus-apdex-alerting-d17a065e39d0",
223
+ "fieldConfig": {
224
+ "defaults": {
225
+ "color": {
226
+ "mode": "palette-classic"
227
+ },
228
+ "custom": {
229
+ "axisBorderShow": false,
230
+ "axisCenteredZero": false,
231
+ "axisColorMode": "text",
232
+ "axisLabel": "",
233
+ "axisPlacement": "auto",
234
+ "barAlignment": 0,
235
+ "barWidthFactor": 0.6,
236
+ "drawStyle": "line",
237
+ "fillOpacity": 0,
238
+ "gradientMode": "none",
239
+ "hideFrom": {
240
+ "legend": false,
241
+ "tooltip": false,
242
+ "viz": false
243
+ },
244
+ "insertNulls": false,
245
+ "lineInterpolation": "linear",
246
+ "lineWidth": 1,
247
+ "pointSize": 5,
248
+ "scaleDistribution": {
249
+ "type": "linear"
250
+ },
251
+ "showPoints": "auto",
252
+ "spanNulls": false,
253
+ "stacking": {
254
+ "group": "A",
255
+ "mode": "none"
256
+ },
257
+ "thresholdsStyle": {
258
+ "mode": "off"
259
+ }
260
+ },
261
+ "mappings": [],
262
+ "thresholds": {
263
+ "mode": "absolute",
264
+ "steps": [
265
+ {
266
+ "color": "green",
267
+ "value": null
268
+ },
269
+ {
270
+ "color": "red",
271
+ "value": 80
272
+ }
273
+ ]
274
+ }
275
+ },
276
+ "overrides": []
277
+ },
278
+ "gridPos": {
279
+ "h": 8,
280
+ "w": 12,
281
+ "x": 12,
282
+ "y": 1
283
+ },
284
+ "id": 6,
285
+ "options": {
286
+ "legend": {
287
+ "calcs": [
288
+ "mean",
289
+ "max"
290
+ ],
291
+ "displayMode": "table",
292
+ "placement": "bottom",
293
+ "showLegend": true,
294
+ "sortBy": "Max",
295
+ "sortDesc": true
296
+ },
297
+ "tooltip": {
298
+ "mode": "multi",
299
+ "sort": "desc"
300
+ }
301
+ },
302
+ "targets": [
303
+ {
304
+ "datasource": {
305
+ "type": "prometheus",
306
+ "uid": "prometheus"
307
+ },
308
+ "editorMode": "code",
309
+ "expr": "(sum(rate(traefik_entrypoint_request_duration_seconds_bucket{le=\"0.3\",code=\"200\",entrypoint=~\"$entrypoint\"}[$interval])) by (method) + \n sum(rate(traefik_entrypoint_request_duration_seconds_bucket{le=\"1.2\",code=\"200\",entrypoint=~\"$entrypoint\"}[$interval])) by (method)) / 2 / \n sum(rate(traefik_entrypoint_request_duration_seconds_count{code=\"200\",entrypoint=~\"$entrypoint\"}[$interval])) by (method)\n",
310
+ "legendFormat": "{{method}}",
311
+ "range": true,
312
+ "refId": "A"
313
+ }
314
+ ],
315
+ "title": "Apdex score",
316
+ "type": "timeseries"
317
+ },
318
+ {
319
+ "datasource": {
320
+ "type": "prometheus",
321
+ "uid": "prometheus"
322
+ },
323
+ "description": "Mean Distribution",
324
+ "fieldConfig": {
325
+ "defaults": {
326
+ "color": {
327
+ "mode": "palette-classic"
328
+ },
329
+ "custom": {
330
+ "hideFrom": {
331
+ "legend": false,
332
+ "tooltip": false,
333
+ "viz": false
334
+ }
335
+ },
336
+ "mappings": [],
337
+ "unit": "reqps"
338
+ },
339
+ "overrides": []
340
+ },
341
+ "gridPos": {
342
+ "h": 6,
343
+ "w": 5,
344
+ "x": 0,
345
+ "y": 3
346
+ },
347
+ "id": 14,
348
+ "options": {
349
+ "legend": {
350
+ "displayMode": "list",
351
+ "placement": "right",
352
+ "showLegend": true,
353
+ "values": [
354
+ "percent"
355
+ ]
356
+ },
357
+ "pieType": "pie",
358
+ "reduceOptions": {
359
+ "calcs": [
360
+ "mean"
361
+ ],
362
+ "fields": "",
363
+ "values": false
364
+ },
365
+ "tooltip": {
366
+ "mode": "multi",
367
+ "sort": "asc"
368
+ }
369
+ },
370
+ "targets": [
371
+ {
372
+ "datasource": {
373
+ "type": "prometheus",
374
+ "uid": "prometheus"
375
+ },
376
+ "editorMode": "code",
377
+ "expr": "sum(rate(traefik_service_requests_total{service=~\"$service.*\",protocol=\"http\"}[$interval])) by (method, code)",
378
+ "legendFormat": "{{method}}[{{code}}]",
379
+ "range": true,
380
+ "refId": "A"
381
+ }
382
+ ],
383
+ "title": "Http Code ",
384
+ "type": "piechart"
385
+ },
386
+ {
387
+ "datasource": {
388
+ "type": "prometheus",
389
+ "uid": "prometheus"
390
+ },
391
+ "description": "",
392
+ "fieldConfig": {
393
+ "defaults": {
394
+ "color": {
395
+ "mode": "palette-classic"
396
+ },
397
+ "custom": {
398
+ "axisBorderShow": false,
399
+ "axisCenteredZero": false,
400
+ "axisColorMode": "text",
401
+ "axisLabel": "",
402
+ "axisPlacement": "auto",
403
+ "barAlignment": 0,
404
+ "barWidthFactor": 0.6,
405
+ "drawStyle": "line",
406
+ "fillOpacity": 0,
407
+ "gradientMode": "none",
408
+ "hideFrom": {
409
+ "legend": false,
410
+ "tooltip": false,
411
+ "viz": false
412
+ },
413
+ "insertNulls": false,
414
+ "lineInterpolation": "linear",
415
+ "lineWidth": 1,
416
+ "pointSize": 5,
417
+ "scaleDistribution": {
418
+ "type": "linear"
419
+ },
420
+ "showPoints": "auto",
421
+ "spanNulls": false,
422
+ "stacking": {
423
+ "group": "A",
424
+ "mode": "none"
425
+ },
426
+ "thresholdsStyle": {
427
+ "mode": "off"
428
+ }
429
+ },
430
+ "mappings": [],
431
+ "thresholds": {
432
+ "mode": "absolute",
433
+ "steps": [
434
+ {
435
+ "color": "green",
436
+ "value": null
437
+ },
438
+ {
439
+ "color": "red",
440
+ "value": 80
441
+ }
442
+ ]
443
+ },
444
+ "unit": "s"
445
+ },
446
+ "overrides": []
447
+ },
448
+ "gridPos": {
449
+ "h": 8,
450
+ "w": 12,
451
+ "x": 0,
452
+ "y": 9
453
+ },
454
+ "id": 23,
455
+ "options": {
456
+ "legend": {
457
+ "calcs": [
458
+ "mean",
459
+ "max"
460
+ ],
461
+ "displayMode": "table",
462
+ "placement": "right",
463
+ "showLegend": true,
464
+ "sortBy": "Mean",
465
+ "sortDesc": true
466
+ },
467
+ "tooltip": {
468
+ "mode": "multi",
469
+ "sort": "desc"
470
+ }
471
+ },
472
+ "targets": [
473
+ {
474
+ "datasource": {
475
+ "type": "prometheus",
476
+ "uid": "prometheus"
477
+ },
478
+ "editorMode": "code",
479
+ "expr": "topk(15,\n label_replace(\n traefik_service_request_duration_seconds_sum{service=~\"$service.*\",protocol=\"http\"} / \n traefik_service_request_duration_seconds_count{service=~\"$service.*\",protocol=\"http\"},\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)\n\n",
480
+ "legendFormat": "{{method}}[{{code}}] on {{service}}",
481
+ "range": true,
482
+ "refId": "A"
483
+ }
484
+ ],
485
+ "title": "Top slow services",
486
+ "type": "timeseries"
487
+ },
488
+ {
489
+ "datasource": {
490
+ "type": "prometheus",
491
+ "uid": "prometheus"
492
+ },
493
+ "description": "",
494
+ "fieldConfig": {
495
+ "defaults": {
496
+ "color": {
497
+ "mode": "palette-classic"
498
+ },
499
+ "custom": {
500
+ "axisBorderShow": false,
501
+ "axisCenteredZero": false,
502
+ "axisColorMode": "text",
503
+ "axisLabel": "",
504
+ "axisPlacement": "auto",
505
+ "barAlignment": 0,
506
+ "barWidthFactor": 0.6,
507
+ "drawStyle": "line",
508
+ "fillOpacity": 0,
509
+ "gradientMode": "none",
510
+ "hideFrom": {
511
+ "legend": false,
512
+ "tooltip": false,
513
+ "viz": false
514
+ },
515
+ "insertNulls": false,
516
+ "lineInterpolation": "linear",
517
+ "lineWidth": 1,
518
+ "pointSize": 5,
519
+ "scaleDistribution": {
520
+ "type": "linear"
521
+ },
522
+ "showPoints": "auto",
523
+ "spanNulls": false,
524
+ "stacking": {
525
+ "group": "A",
526
+ "mode": "none"
527
+ },
528
+ "thresholdsStyle": {
529
+ "mode": "off"
530
+ }
531
+ },
532
+ "mappings": [],
533
+ "thresholds": {
534
+ "mode": "absolute",
535
+ "steps": [
536
+ {
537
+ "color": "green",
538
+ "value": null
539
+ },
540
+ {
541
+ "color": "red",
542
+ "value": 80
543
+ }
544
+ ]
545
+ },
546
+ "unit": "reqps"
547
+ },
548
+ "overrides": []
549
+ },
550
+ "gridPos": {
551
+ "h": 8,
552
+ "w": 12,
553
+ "x": 12,
554
+ "y": 9
555
+ },
556
+ "id": 5,
557
+ "options": {
558
+ "legend": {
559
+ "calcs": [
560
+ "mean",
561
+ "max"
562
+ ],
563
+ "displayMode": "table",
564
+ "placement": "right",
565
+ "showLegend": true,
566
+ "sortBy": "Mean",
567
+ "sortDesc": true
568
+ },
569
+ "tooltip": {
570
+ "mode": "multi",
571
+ "sort": "desc"
572
+ }
573
+ },
574
+ "targets": [
575
+ {
576
+ "datasource": {
577
+ "type": "prometheus",
578
+ "uid": "prometheus"
579
+ },
580
+ "editorMode": "code",
581
+ "expr": "topk(15,\n label_replace(\n sum by (service,code) \n (rate(traefik_service_requests_total{service=~\"$service.*\",protocol=\"http\"}[$interval])) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)",
582
+ "legendFormat": "[{{code}}] on {{service}}",
583
+ "range": true,
584
+ "refId": "A"
585
+ }
586
+ ],
587
+ "title": "Most requested services",
588
+ "type": "timeseries"
589
+ },
590
+ {
591
+ "collapsed": true,
592
+ "gridPos": {
593
+ "h": 1,
594
+ "w": 24,
595
+ "x": 0,
596
+ "y": 17
597
+ },
598
+ "id": 11,
599
+ "panels": [
600
+ {
601
+ "datasource": {
602
+ "type": "prometheus",
603
+ "uid": "prometheus"
604
+ },
605
+ "description": "",
606
+ "fieldConfig": {
607
+ "defaults": {
608
+ "color": {
609
+ "mode": "palette-classic"
610
+ },
611
+ "custom": {
612
+ "axisCenteredZero": false,
613
+ "axisColorMode": "text",
614
+ "axisLabel": "",
615
+ "axisPlacement": "auto",
616
+ "barAlignment": 0,
617
+ "drawStyle": "line",
618
+ "fillOpacity": 0,
619
+ "gradientMode": "none",
620
+ "hideFrom": {
621
+ "legend": false,
622
+ "tooltip": false,
623
+ "viz": false
624
+ },
625
+ "lineInterpolation": "linear",
626
+ "lineWidth": 1,
627
+ "pointSize": 5,
628
+ "scaleDistribution": {
629
+ "type": "linear"
630
+ },
631
+ "showPoints": "auto",
632
+ "spanNulls": false,
633
+ "stacking": {
634
+ "group": "A",
635
+ "mode": "none"
636
+ },
637
+ "thresholdsStyle": {
638
+ "mode": "off"
639
+ }
640
+ },
641
+ "mappings": [],
642
+ "thresholds": {
643
+ "mode": "absolute",
644
+ "steps": [
645
+ {
646
+ "color": "green"
647
+ }
648
+ ]
649
+ },
650
+ "unit": "percentunit"
651
+ },
652
+ "overrides": []
653
+ },
654
+ "gridPos": {
655
+ "h": 8,
656
+ "w": 12,
657
+ "x": 0,
658
+ "y": 18
659
+ },
660
+ "id": 3,
661
+ "options": {
662
+ "legend": {
663
+ "calcs": [
664
+ "mean",
665
+ "max"
666
+ ],
667
+ "displayMode": "table",
668
+ "placement": "right",
669
+ "showLegend": true,
670
+ "sortBy": "Max",
671
+ "sortDesc": true
672
+ },
673
+ "tooltip": {
674
+ "mode": "multi",
675
+ "sort": "desc"
676
+ }
677
+ },
678
+ "targets": [
679
+ {
680
+ "datasource": {
681
+ "type": "prometheus",
682
+ "uid": "prometheus"
683
+ },
684
+ "editorMode": "code",
685
+ "expr": "label_replace(\n 1 - (sum by (service)\n (rate(traefik_service_request_duration_seconds_bucket{le=\"1.2\",service=~\"$service.*\"}[$interval])) / sum by (service) \n (rate(traefik_service_request_duration_seconds_count{service=~\"$service.*\"}[$interval]))\n ) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\"\n)",
686
+ "legendFormat": "{{service}}",
687
+ "range": true,
688
+ "refId": "A"
689
+ }
690
+ ],
691
+ "title": "Services failing SLO of 1200ms",
692
+ "type": "timeseries"
693
+ },
694
+ {
695
+ "datasource": {
696
+ "type": "prometheus",
697
+ "uid": "prometheus"
698
+ },
699
+ "description": "",
700
+ "fieldConfig": {
701
+ "defaults": {
702
+ "color": {
703
+ "mode": "palette-classic"
704
+ },
705
+ "custom": {
706
+ "axisCenteredZero": false,
707
+ "axisColorMode": "text",
708
+ "axisLabel": "",
709
+ "axisPlacement": "auto",
710
+ "barAlignment": 0,
711
+ "drawStyle": "line",
712
+ "fillOpacity": 0,
713
+ "gradientMode": "none",
714
+ "hideFrom": {
715
+ "legend": false,
716
+ "tooltip": false,
717
+ "viz": false
718
+ },
719
+ "lineInterpolation": "linear",
720
+ "lineWidth": 1,
721
+ "pointSize": 5,
722
+ "scaleDistribution": {
723
+ "type": "linear"
724
+ },
725
+ "showPoints": "auto",
726
+ "spanNulls": false,
727
+ "stacking": {
728
+ "group": "A",
729
+ "mode": "none"
730
+ },
731
+ "thresholdsStyle": {
732
+ "mode": "off"
733
+ }
734
+ },
735
+ "mappings": [],
736
+ "thresholds": {
737
+ "mode": "absolute",
738
+ "steps": [
739
+ {
740
+ "color": "green"
741
+ }
742
+ ]
743
+ },
744
+ "unit": "percentunit"
745
+ },
746
+ "overrides": []
747
+ },
748
+ "gridPos": {
749
+ "h": 8,
750
+ "w": 12,
751
+ "x": 12,
752
+ "y": 18
753
+ },
754
+ "id": 4,
755
+ "options": {
756
+ "legend": {
757
+ "calcs": [
758
+ "mean",
759
+ "max"
760
+ ],
761
+ "displayMode": "table",
762
+ "placement": "right",
763
+ "showLegend": true,
764
+ "sortBy": "Max",
765
+ "sortDesc": true
766
+ },
767
+ "tooltip": {
768
+ "mode": "multi",
769
+ "sort": "desc"
770
+ }
771
+ },
772
+ "targets": [
773
+ {
774
+ "datasource": {
775
+ "type": "prometheus",
776
+ "uid": "prometheus"
777
+ },
778
+ "editorMode": "code",
779
+ "expr": "label_replace(\n 1 - (sum by (service)\n (rate(traefik_service_request_duration_seconds_bucket{le=\"0.3\",service=~\"$service.*\"}[$interval])) / sum by (service) \n (rate(traefik_service_request_duration_seconds_count{service=~\"$service.*\"}[$interval]))\n ) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\"\n)",
780
+ "legendFormat": "{{service}}",
781
+ "range": true,
782
+ "refId": "A"
783
+ }
784
+ ],
785
+ "title": "Services failing SLO of 300ms",
786
+ "type": "timeseries"
787
+ }
788
+ ],
789
+ "title": "SLO",
790
+ "type": "row"
791
+ },
792
+ {
793
+ "collapsed": false,
794
+ "gridPos": {
795
+ "h": 1,
796
+ "w": 24,
797
+ "x": 0,
798
+ "y": 18
799
+ },
800
+ "id": 16,
801
+ "panels": [],
802
+ "title": "HTTP Details",
803
+ "type": "row"
804
+ },
805
+ {
806
+ "datasource": {
807
+ "type": "prometheus",
808
+ "uid": "prometheus"
809
+ },
810
+ "description": "",
811
+ "fieldConfig": {
812
+ "defaults": {
813
+ "color": {
814
+ "mode": "palette-classic"
815
+ },
816
+ "custom": {
817
+ "axisBorderShow": false,
818
+ "axisCenteredZero": false,
819
+ "axisColorMode": "text",
820
+ "axisLabel": "",
821
+ "axisPlacement": "auto",
822
+ "barAlignment": 0,
823
+ "barWidthFactor": 0.6,
824
+ "drawStyle": "line",
825
+ "fillOpacity": 0,
826
+ "gradientMode": "none",
827
+ "hideFrom": {
828
+ "legend": false,
829
+ "tooltip": false,
830
+ "viz": false
831
+ },
832
+ "insertNulls": false,
833
+ "lineInterpolation": "linear",
834
+ "lineWidth": 1,
835
+ "pointSize": 5,
836
+ "scaleDistribution": {
837
+ "type": "linear"
838
+ },
839
+ "showPoints": "auto",
840
+ "spanNulls": false,
841
+ "stacking": {
842
+ "group": "A",
843
+ "mode": "none"
844
+ },
845
+ "thresholdsStyle": {
846
+ "mode": "off"
847
+ }
848
+ },
849
+ "mappings": [],
850
+ "thresholds": {
851
+ "mode": "absolute",
852
+ "steps": [
853
+ {
854
+ "color": "green",
855
+ "value": null
856
+ },
857
+ {
858
+ "color": "red",
859
+ "value": 80
860
+ }
861
+ ]
862
+ },
863
+ "unit": "reqps"
864
+ },
865
+ "overrides": []
866
+ },
867
+ "gridPos": {
868
+ "h": 12,
869
+ "w": 8,
870
+ "x": 0,
871
+ "y": 19
872
+ },
873
+ "id": 17,
874
+ "options": {
875
+ "legend": {
876
+ "calcs": [
877
+ "mean",
878
+ "max"
879
+ ],
880
+ "displayMode": "table",
881
+ "placement": "bottom",
882
+ "showLegend": true,
883
+ "sortBy": "Mean",
884
+ "sortDesc": true
885
+ },
886
+ "tooltip": {
887
+ "mode": "multi",
888
+ "sort": "desc"
889
+ }
890
+ },
891
+ "targets": [
892
+ {
893
+ "datasource": {
894
+ "type": "prometheus",
895
+ "uid": "prometheus"
896
+ },
897
+ "editorMode": "code",
898
+ "expr": "topk(15,\n label_replace(\n sum by (service,method,code) \n (rate(traefik_service_requests_total{service=~\"$service.*\",code=~\"2..\",protocol=\"http\"}[$interval])) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)",
899
+ "legendFormat": "{{method}}[{{code}}] on {{service}}",
900
+ "range": true,
901
+ "refId": "A"
902
+ }
903
+ ],
904
+ "title": "2xx over $interval",
905
+ "type": "timeseries"
906
+ },
907
+ {
908
+ "datasource": {
909
+ "type": "prometheus",
910
+ "uid": "prometheus"
911
+ },
912
+ "description": "",
913
+ "fieldConfig": {
914
+ "defaults": {
915
+ "color": {
916
+ "mode": "palette-classic"
917
+ },
918
+ "custom": {
919
+ "axisBorderShow": false,
920
+ "axisCenteredZero": false,
921
+ "axisColorMode": "text",
922
+ "axisGridShow": true,
923
+ "axisLabel": "",
924
+ "axisPlacement": "auto",
925
+ "barAlignment": 0,
926
+ "barWidthFactor": 0.6,
927
+ "drawStyle": "line",
928
+ "fillOpacity": 0,
929
+ "gradientMode": "none",
930
+ "hideFrom": {
931
+ "legend": false,
932
+ "tooltip": false,
933
+ "viz": false
934
+ },
935
+ "insertNulls": false,
936
+ "lineInterpolation": "linear",
937
+ "lineWidth": 1,
938
+ "pointSize": 5,
939
+ "scaleDistribution": {
940
+ "type": "linear"
941
+ },
942
+ "showPoints": "auto",
943
+ "spanNulls": false,
944
+ "stacking": {
945
+ "group": "A",
946
+ "mode": "none"
947
+ },
948
+ "thresholdsStyle": {
949
+ "mode": "off"
950
+ }
951
+ },
952
+ "mappings": [],
953
+ "thresholds": {
954
+ "mode": "absolute",
955
+ "steps": [
956
+ {
957
+ "color": "green",
958
+ "value": null
959
+ },
960
+ {
961
+ "color": "red",
962
+ "value": 80
963
+ }
964
+ ]
965
+ },
966
+ "unit": "reqps"
967
+ },
968
+ "overrides": []
969
+ },
970
+ "gridPos": {
971
+ "h": 12,
972
+ "w": 8,
973
+ "x": 8,
974
+ "y": 19
975
+ },
976
+ "id": 18,
977
+ "options": {
978
+ "legend": {
979
+ "calcs": [
980
+ "mean",
981
+ "max"
982
+ ],
983
+ "displayMode": "table",
984
+ "placement": "bottom",
985
+ "showLegend": true,
986
+ "sortBy": "Mean",
987
+ "sortDesc": true
988
+ },
989
+ "tooltip": {
990
+ "mode": "multi",
991
+ "sort": "desc"
992
+ }
993
+ },
994
+ "targets": [
995
+ {
996
+ "datasource": {
997
+ "type": "prometheus",
998
+ "uid": "prometheus"
999
+ },
1000
+ "editorMode": "code",
1001
+ "expr": "topk(15,\n label_replace(\n sum by (service,method,code) \n (rate(traefik_service_requests_total{service=~\"$service.*\",code=~\"5..\",protocol=\"http\"}[$interval])) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)",
1002
+ "legendFormat": "{{method}}[{{code}}] on {{service}}",
1003
+ "range": true,
1004
+ "refId": "A"
1005
+ }
1006
+ ],
1007
+ "title": "5xx over $interval",
1008
+ "type": "timeseries"
1009
+ },
1010
+ {
1011
+ "datasource": {
1012
+ "type": "prometheus",
1013
+ "uid": "prometheus"
1014
+ },
1015
+ "description": "",
1016
+ "fieldConfig": {
1017
+ "defaults": {
1018
+ "color": {
1019
+ "mode": "palette-classic"
1020
+ },
1021
+ "custom": {
1022
+ "axisBorderShow": false,
1023
+ "axisCenteredZero": false,
1024
+ "axisColorMode": "text",
1025
+ "axisGridShow": true,
1026
+ "axisLabel": "",
1027
+ "axisPlacement": "auto",
1028
+ "barAlignment": 0,
1029
+ "barWidthFactor": 0.6,
1030
+ "drawStyle": "line",
1031
+ "fillOpacity": 0,
1032
+ "gradientMode": "none",
1033
+ "hideFrom": {
1034
+ "legend": false,
1035
+ "tooltip": false,
1036
+ "viz": false
1037
+ },
1038
+ "insertNulls": false,
1039
+ "lineInterpolation": "linear",
1040
+ "lineWidth": 1,
1041
+ "pointSize": 5,
1042
+ "scaleDistribution": {
1043
+ "type": "linear"
1044
+ },
1045
+ "showPoints": "auto",
1046
+ "spanNulls": false,
1047
+ "stacking": {
1048
+ "group": "A",
1049
+ "mode": "none"
1050
+ },
1051
+ "thresholdsStyle": {
1052
+ "mode": "off"
1053
+ }
1054
+ },
1055
+ "mappings": [],
1056
+ "thresholds": {
1057
+ "mode": "absolute",
1058
+ "steps": [
1059
+ {
1060
+ "color": "green",
1061
+ "value": null
1062
+ },
1063
+ {
1064
+ "color": "red",
1065
+ "value": 80
1066
+ }
1067
+ ]
1068
+ },
1069
+ "unit": "reqps"
1070
+ },
1071
+ "overrides": []
1072
+ },
1073
+ "gridPos": {
1074
+ "h": 12,
1075
+ "w": 8,
1076
+ "x": 16,
1077
+ "y": 19
1078
+ },
1079
+ "id": 19,
1080
+ "options": {
1081
+ "legend": {
1082
+ "calcs": [
1083
+ "mean",
1084
+ "max"
1085
+ ],
1086
+ "displayMode": "table",
1087
+ "placement": "bottom",
1088
+ "showLegend": true,
1089
+ "sortBy": "Mean",
1090
+ "sortDesc": true
1091
+ },
1092
+ "tooltip": {
1093
+ "mode": "multi",
1094
+ "sort": "desc"
1095
+ }
1096
+ },
1097
+ "targets": [
1098
+ {
1099
+ "datasource": {
1100
+ "type": "prometheus",
1101
+ "uid": "prometheus"
1102
+ },
1103
+ "editorMode": "code",
1104
+ "expr": "topk(15,\n label_replace(\n sum by (service,method,code) \n (rate(traefik_service_requests_total{service=~\"$service.*\",code!~\"2..|5..\",protocol=\"http\"}[$interval])) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)",
1105
+ "legendFormat": "{{method}}[{{code}}] on {{service}}",
1106
+ "range": true,
1107
+ "refId": "A"
1108
+ }
1109
+ ],
1110
+ "title": "Other codes over $interval",
1111
+ "type": "timeseries"
1112
+ },
1113
+ {
1114
+ "datasource": {
1115
+ "type": "prometheus",
1116
+ "uid": "prometheus"
1117
+ },
1118
+ "description": "",
1119
+ "fieldConfig": {
1120
+ "defaults": {
1121
+ "color": {
1122
+ "mode": "palette-classic"
1123
+ },
1124
+ "custom": {
1125
+ "axisBorderShow": false,
1126
+ "axisCenteredZero": false,
1127
+ "axisColorMode": "text",
1128
+ "axisGridShow": true,
1129
+ "axisLabel": "",
1130
+ "axisPlacement": "auto",
1131
+ "barAlignment": 0,
1132
+ "barWidthFactor": 0.6,
1133
+ "drawStyle": "line",
1134
+ "fillOpacity": 0,
1135
+ "gradientMode": "none",
1136
+ "hideFrom": {
1137
+ "legend": false,
1138
+ "tooltip": false,
1139
+ "viz": false
1140
+ },
1141
+ "insertNulls": false,
1142
+ "lineInterpolation": "linear",
1143
+ "lineWidth": 1,
1144
+ "pointSize": 5,
1145
+ "scaleDistribution": {
1146
+ "type": "linear"
1147
+ },
1148
+ "showPoints": "auto",
1149
+ "spanNulls": false,
1150
+ "stacking": {
1151
+ "group": "A",
1152
+ "mode": "none"
1153
+ },
1154
+ "thresholdsStyle": {
1155
+ "mode": "off"
1156
+ }
1157
+ },
1158
+ "mappings": [],
1159
+ "thresholds": {
1160
+ "mode": "absolute",
1161
+ "steps": [
1162
+ {
1163
+ "color": "green",
1164
+ "value": null
1165
+ },
1166
+ {
1167
+ "color": "red",
1168
+ "value": 80
1169
+ }
1170
+ ]
1171
+ },
1172
+ "unit": "binBps"
1173
+ },
1174
+ "overrides": []
1175
+ },
1176
+ "gridPos": {
1177
+ "h": 8,
1178
+ "w": 12,
1179
+ "x": 0,
1180
+ "y": 31
1181
+ },
1182
+ "id": 20,
1183
+ "options": {
1184
+ "legend": {
1185
+ "calcs": [
1186
+ "mean",
1187
+ "max"
1188
+ ],
1189
+ "displayMode": "table",
1190
+ "placement": "right",
1191
+ "showLegend": true,
1192
+ "sortBy": "Mean",
1193
+ "sortDesc": true
1194
+ },
1195
+ "tooltip": {
1196
+ "mode": "multi",
1197
+ "sort": "desc"
1198
+ }
1199
+ },
1200
+ "targets": [
1201
+ {
1202
+ "datasource": {
1203
+ "type": "prometheus",
1204
+ "uid": "prometheus"
1205
+ },
1206
+ "editorMode": "code",
1207
+ "expr": "topk(15,\n label_replace(\n sum by (service,method) \n (rate(traefik_service_requests_bytes_total{service=~\"$service.*\",protocol=\"http\"}[$interval])) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)",
1208
+ "legendFormat": "{{method}} on {{service}}",
1209
+ "range": true,
1210
+ "refId": "A"
1211
+ }
1212
+ ],
1213
+ "title": "Requests Size",
1214
+ "type": "timeseries"
1215
+ },
1216
+ {
1217
+ "datasource": {
1218
+ "type": "prometheus",
1219
+ "uid": "prometheus"
1220
+ },
1221
+ "description": "",
1222
+ "fieldConfig": {
1223
+ "defaults": {
1224
+ "color": {
1225
+ "mode": "palette-classic"
1226
+ },
1227
+ "custom": {
1228
+ "axisBorderShow": false,
1229
+ "axisCenteredZero": false,
1230
+ "axisColorMode": "text",
1231
+ "axisGridShow": true,
1232
+ "axisLabel": "",
1233
+ "axisPlacement": "auto",
1234
+ "barAlignment": 0,
1235
+ "barWidthFactor": 0.6,
1236
+ "drawStyle": "line",
1237
+ "fillOpacity": 0,
1238
+ "gradientMode": "none",
1239
+ "hideFrom": {
1240
+ "legend": false,
1241
+ "tooltip": false,
1242
+ "viz": false
1243
+ },
1244
+ "insertNulls": false,
1245
+ "lineInterpolation": "linear",
1246
+ "lineWidth": 1,
1247
+ "pointSize": 5,
1248
+ "scaleDistribution": {
1249
+ "type": "linear"
1250
+ },
1251
+ "showPoints": "auto",
1252
+ "spanNulls": false,
1253
+ "stacking": {
1254
+ "group": "A",
1255
+ "mode": "none"
1256
+ },
1257
+ "thresholdsStyle": {
1258
+ "mode": "off"
1259
+ }
1260
+ },
1261
+ "mappings": [],
1262
+ "thresholds": {
1263
+ "mode": "absolute",
1264
+ "steps": [
1265
+ {
1266
+ "color": "green",
1267
+ "value": null
1268
+ },
1269
+ {
1270
+ "color": "red",
1271
+ "value": 80
1272
+ }
1273
+ ]
1274
+ },
1275
+ "unit": "binBps"
1276
+ },
1277
+ "overrides": []
1278
+ },
1279
+ "gridPos": {
1280
+ "h": 8,
1281
+ "w": 12,
1282
+ "x": 12,
1283
+ "y": 31
1284
+ },
1285
+ "id": 24,
1286
+ "options": {
1287
+ "legend": {
1288
+ "calcs": [
1289
+ "mean",
1290
+ "max"
1291
+ ],
1292
+ "displayMode": "table",
1293
+ "placement": "right",
1294
+ "showLegend": true,
1295
+ "sortBy": "Mean",
1296
+ "sortDesc": true
1297
+ },
1298
+ "tooltip": {
1299
+ "mode": "multi",
1300
+ "sort": "desc"
1301
+ }
1302
+ },
1303
+ "targets": [
1304
+ {
1305
+ "datasource": {
1306
+ "type": "prometheus",
1307
+ "uid": "prometheus"
1308
+ },
1309
+ "editorMode": "code",
1310
+ "expr": "topk(15,\n label_replace(\n sum by (service,method) \n (rate(traefik_service_responses_bytes_total{service=~\"$service.*\",protocol=\"http\"}[$interval])) > 0,\n \"service\", \"$1\", \"service\", \"([^@]+)@.*\")\n)",
1311
+ "legendFormat": "{{method}} on {{service}}",
1312
+ "range": true,
1313
+ "refId": "A"
1314
+ }
1315
+ ],
1316
+ "title": "Responses Size",
1317
+ "type": "timeseries"
1318
+ },
1319
+ {
1320
+ "datasource": {
1321
+ "type": "prometheus",
1322
+ "uid": "prometheus"
1323
+ },
1324
+ "description": "",
1325
+ "fieldConfig": {
1326
+ "defaults": {
1327
+ "color": {
1328
+ "mode": "palette-classic"
1329
+ },
1330
+ "custom": {
1331
+ "axisBorderShow": false,
1332
+ "axisCenteredZero": false,
1333
+ "axisColorMode": "text",
1334
+ "axisLabel": "",
1335
+ "axisPlacement": "auto",
1336
+ "barAlignment": 0,
1337
+ "barWidthFactor": 0.6,
1338
+ "drawStyle": "line",
1339
+ "fillOpacity": 0,
1340
+ "gradientMode": "none",
1341
+ "hideFrom": {
1342
+ "legend": false,
1343
+ "tooltip": false,
1344
+ "viz": false
1345
+ },
1346
+ "insertNulls": false,
1347
+ "lineInterpolation": "linear",
1348
+ "lineWidth": 1,
1349
+ "pointSize": 5,
1350
+ "scaleDistribution": {
1351
+ "type": "linear"
1352
+ },
1353
+ "showPoints": "auto",
1354
+ "spanNulls": false,
1355
+ "stacking": {
1356
+ "group": "A",
1357
+ "mode": "none"
1358
+ },
1359
+ "thresholdsStyle": {
1360
+ "mode": "off"
1361
+ }
1362
+ },
1363
+ "mappings": [],
1364
+ "thresholds": {
1365
+ "mode": "absolute",
1366
+ "steps": [
1367
+ {
1368
+ "color": "green",
1369
+ "value": null
1370
+ },
1371
+ {
1372
+ "color": "red",
1373
+ "value": 80
1374
+ }
1375
+ ]
1376
+ },
1377
+ "unit": "short"
1378
+ },
1379
+ "overrides": []
1380
+ },
1381
+ "gridPos": {
1382
+ "h": 8,
1383
+ "w": 12,
1384
+ "x": 12,
1385
+ "y": 39
1386
+ },
1387
+ "id": 21,
1388
+ "options": {
1389
+ "legend": {
1390
+ "calcs": [
1391
+ "mean",
1392
+ "max"
1393
+ ],
1394
+ "displayMode": "table",
1395
+ "placement": "right",
1396
+ "showLegend": true,
1397
+ "sortBy": "Max",
1398
+ "sortDesc": true
1399
+ },
1400
+ "tooltip": {
1401
+ "mode": "multi",
1402
+ "sort": "desc"
1403
+ }
1404
+ },
1405
+ "targets": [
1406
+ {
1407
+ "datasource": {
1408
+ "type": "prometheus",
1409
+ "uid": "prometheus"
1410
+ },
1411
+ "editorMode": "code",
1412
+ "expr": "sum(traefik_open_connections{entrypoint=~\"$entrypoint\"}) by (entrypoint)\n",
1413
+ "legendFormat": "{{entrypoint}}",
1414
+ "range": true,
1415
+ "refId": "A"
1416
+ }
1417
+ ],
1418
+ "title": "Connections per Entrypoint",
1419
+ "type": "timeseries"
1420
+ }
1421
+ ],
1422
+ "refresh": "1m",
1423
+ "schemaVersion": 39,
1424
+ "tags": [
1425
+ "traefik",
1426
+ "load-balancer"
1427
+ ],
1428
+ "templating": {
1429
+ "list": [
1430
+ {
1431
+ "current": {
1432
+ "selected": false,
1433
+ "text": "Prometheus",
1434
+ "value": "prometheus"
1435
+ },
1436
+ "hide": 0,
1437
+ "includeAll": false,
1438
+ "label": "datasource",
1439
+ "multi": false,
1440
+ "name": "DS_PROMETHEUS",
1441
+ "options": [],
1442
+ "query": "prometheus",
1443
+ "refresh": 1,
1444
+ "regex": "",
1445
+ "skipUrlSync": false,
1446
+ "type": "datasource"
1447
+ },
1448
+ {
1449
+ "current": {
1450
+ "selected": false,
1451
+ "text": "All",
1452
+ "value": "$__all"
1453
+ },
1454
+ "datasource": {
1455
+ "type": "prometheus",
1456
+ "uid": "prometheus"
1457
+ },
1458
+ "definition": "label_values(traefik_open_connections, entrypoint)",
1459
+ "hide": 0,
1460
+ "includeAll": true,
1461
+ "multi": false,
1462
+ "name": "entrypoint",
1463
+ "options": [],
1464
+ "query": {
1465
+ "query": "label_values(traefik_open_connections, entrypoint)",
1466
+ "refId": "StandardVariableQuery"
1467
+ },
1468
+ "refresh": 1,
1469
+ "regex": "",
1470
+ "skipUrlSync": false,
1471
+ "sort": 0,
1472
+ "type": "query"
1473
+ },
1474
+ {
1475
+ "auto": true,
1476
+ "auto_count": 30,
1477
+ "auto_min": "1m",
1478
+ "current": {
1479
+ "selected": false,
1480
+ "text": "auto",
1481
+ "value": "$__auto_interval_interval"
1482
+ },
1483
+ "hide": 0,
1484
+ "name": "interval",
1485
+ "options": [
1486
+ {
1487
+ "selected": true,
1488
+ "text": "auto",
1489
+ "value": "$__auto_interval_interval"
1490
+ },
1491
+ {
1492
+ "selected": false,
1493
+ "text": "1m",
1494
+ "value": "1m"
1495
+ },
1496
+ {
1497
+ "selected": false,
1498
+ "text": "5m",
1499
+ "value": "5m"
1500
+ },
1501
+ {
1502
+ "selected": false,
1503
+ "text": "10m",
1504
+ "value": "10m"
1505
+ },
1506
+ {
1507
+ "selected": false,
1508
+ "text": "30m",
1509
+ "value": "30m"
1510
+ },
1511
+ {
1512
+ "selected": false,
1513
+ "text": "1h",
1514
+ "value": "1h"
1515
+ },
1516
+ {
1517
+ "selected": false,
1518
+ "text": "2h",
1519
+ "value": "2h"
1520
+ },
1521
+ {
1522
+ "selected": false,
1523
+ "text": "4h",
1524
+ "value": "4h"
1525
+ },
1526
+ {
1527
+ "selected": false,
1528
+ "text": "8h",
1529
+ "value": "8h"
1530
+ }
1531
+ ],
1532
+ "query": "1m,5m,10m,30m,1h,2h,4h,8h",
1533
+ "refresh": 2,
1534
+ "skipUrlSync": false,
1535
+ "type": "interval"
1536
+ },
1537
+ {
1538
+ "current": {
1539
+ "selected": false,
1540
+ "text": "All",
1541
+ "value": "$__all"
1542
+ },
1543
+ "datasource": {
1544
+ "type": "prometheus",
1545
+ "uid": "prometheus"
1546
+ },
1547
+ "definition": "label_values(traefik_service_requests_total, service)",
1548
+ "hide": 0,
1549
+ "includeAll": true,
1550
+ "multi": false,
1551
+ "name": "service",
1552
+ "options": [],
1553
+ "query": {
1554
+ "query": "label_values(traefik_service_requests_total, service)",
1555
+ "refId": "StandardVariableQuery"
1556
+ },
1557
+ "refresh": 2,
1558
+ "regex": "/([^@]+)@.*/",
1559
+ "skipUrlSync": false,
1560
+ "sort": 1,
1561
+ "type": "query"
1562
+ }
1563
+ ]
1564
+ },
1565
+ "time": {
1566
+ "from": "now-3h",
1567
+ "to": "now"
1568
+ },
1569
+ "timepicker": {},
1570
+ "timezone": "",
1571
+ "title": "Traefik v3",
1572
+ "uid": "n5bu_kv4k",
1573
+ "version": 3,
1574
+ "weekStart": ""
1575
+ }