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