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