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