]> git.proxmox.com Git - ceph.git/blob - ceph/monitoring/grafana/dashboards/pool-overview.json
import ceph 16.2.6
[ceph.git] / ceph / monitoring / grafana / dashboards / pool-overview.json
1 {
2 "annotations": {
3 "list": [
4 {
5 "builtIn": 1,
6 "datasource": "-- Grafana --",
7 "enable": true,
8 "hide": true,
9 "iconColor": "rgba(0, 211, 255, 1)",
10 "name": "Annotations & Alerts",
11 "type": "dashboard"
12 }
13 ]
14 },
15 "editable": false,
16 "gnetId": null,
17 "graphTooltip": 0,
18 "id": null,
19 "iteration": 1617656284287,
20 "links": [],
21 "panels": [
22 {
23 "cacheTimeout": null,
24 "colorBackground": false,
25 "colorValue": false,
26 "colors": [
27 "#299c46",
28 "rgba(237, 129, 40, 0.89)",
29 "#d44a3a"
30 ],
31 "datasource": "$datasource",
32 "format": "none",
33 "gauge": {
34 "maxValue": 100,
35 "minValue": 0,
36 "show": false,
37 "thresholdLabels": false,
38 "thresholdMarkers": true
39 },
40 "gridPos": {
41 "h": 3,
42 "w": 3,
43 "x": 0,
44 "y": 0
45 },
46 "id": 21,
47 "interval": null,
48 "links": [],
49 "mappingType": 1,
50 "mappingTypes": [
51 {
52 "name": "value to text",
53 "value": 1
54 },
55 {
56 "name": "range to text",
57 "value": 2
58 }
59 ],
60 "maxDataPoints": 100,
61 "nullPointMode": "connected",
62 "nullText": null,
63 "postfix": "",
64 "postfixFontSize": "50%",
65 "prefix": "",
66 "prefixFontSize": "50%",
67 "rangeMaps": [
68 {
69 "from": "null",
70 "text": "N/A",
71 "to": "null"
72 }
73 ],
74 "sparkline": {
75 "fillColor": "rgba(31, 118, 189, 0.18)",
76 "full": false,
77 "lineColor": "rgb(31, 120, 193)",
78 "show": false,
79 "ymax": null,
80 "ymin": null
81 },
82 "tableColumn": "",
83 "targets": [
84 {
85 "expr": "count(ceph_pool_metadata)",
86 "format": "table",
87 "instant": true,
88 "interval": "",
89 "legendFormat": "",
90 "refId": "A"
91 }
92 ],
93 "thresholds": "",
94 "timeFrom": null,
95 "timeShift": null,
96 "title": "Pools",
97 "type": "singlestat",
98 "valueFontSize": "80%",
99 "valueMaps": [
100 {
101 "op": "=",
102 "text": "N/A",
103 "value": "null"
104 }
105 ],
106 "valueName": "avg"
107 },
108 {
109 "cacheTimeout": null,
110 "colorBackground": false,
111 "colorValue": false,
112 "colors": [
113 "#299c46",
114 "rgba(237, 129, 40, 0.89)",
115 "#d44a3a"
116 ],
117 "datasource": "$datasource",
118 "description": "Count of the pools that have compression enabled",
119 "format": "none",
120 "gauge": {
121 "maxValue": 100,
122 "minValue": 0,
123 "show": false,
124 "thresholdLabels": false,
125 "thresholdMarkers": true
126 },
127 "gridPos": {
128 "h": 3,
129 "w": 3,
130 "x": 3,
131 "y": 0
132 },
133 "id": 7,
134 "interval": null,
135 "links": [],
136 "mappingType": 1,
137 "mappingTypes": [
138 {
139 "name": "value to text",
140 "value": 1
141 },
142 {
143 "name": "range to text",
144 "value": 2
145 }
146 ],
147 "maxDataPoints": 100,
148 "nullPointMode": "connected",
149 "nullText": null,
150 "pluginVersion": "6.7.4",
151 "postfix": "",
152 "postfixFontSize": "50%",
153 "prefix": "",
154 "prefixFontSize": "50%",
155 "rangeMaps": [
156 {
157 "from": "null",
158 "text": "N/A",
159 "to": "null"
160 }
161 ],
162 "sparkline": {
163 "fillColor": "rgba(31, 118, 189, 0.18)",
164 "full": false,
165 "lineColor": "rgb(31, 120, 193)",
166 "show": false,
167 "ymax": null,
168 "ymin": null
169 },
170 "tableColumn": "",
171 "targets": [
172 {
173 "expr": "count(ceph_pool_metadata{compression_mode!=\"none\"})",
174 "interval": "",
175 "legendFormat": "",
176 "refId": "A"
177 }
178 ],
179 "thresholds": "",
180 "timeFrom": null,
181 "timeShift": null,
182 "title": "Pools with Compression",
183 "type": "singlestat",
184 "valueFontSize": "80%",
185 "valueMaps": [
186 {
187 "op": "=",
188 "text": "N/A",
189 "value": "null"
190 }
191 ],
192 "valueName": "current"
193 },
194 {
195 "cacheTimeout": null,
196 "colorBackground": false,
197 "colorValue": false,
198 "colors": [
199 "#299c46",
200 "rgba(237, 129, 40, 0.89)",
201 "#d44a3a"
202 ],
203 "datasource": "$datasource",
204 "decimals": 1,
205 "description": "Total raw capacity available to the cluster",
206 "format": "bytes",
207 "gauge": {
208 "maxValue": 100,
209 "minValue": 0,
210 "show": false,
211 "thresholdLabels": false,
212 "thresholdMarkers": true
213 },
214 "gridPos": {
215 "h": 3,
216 "w": 3,
217 "x": 6,
218 "y": 0
219 },
220 "id": 27,
221 "interval": null,
222 "links": [],
223 "mappingType": 1,
224 "mappingTypes": [
225 {
226 "name": "value to text",
227 "value": 1
228 },
229 {
230 "name": "range to text",
231 "value": 2
232 }
233 ],
234 "maxDataPoints": 100,
235 "nullPointMode": "connected",
236 "nullText": null,
237 "postfix": "",
238 "postfixFontSize": "50%",
239 "prefix": "",
240 "prefixFontSize": "50%",
241 "rangeMaps": [
242 {
243 "from": "null",
244 "text": "N/A",
245 "to": "null"
246 }
247 ],
248 "sparkline": {
249 "fillColor": "rgba(31, 118, 189, 0.18)",
250 "full": false,
251 "lineColor": "rgb(31, 120, 193)",
252 "show": false,
253 "ymax": null,
254 "ymin": null
255 },
256 "tableColumn": "",
257 "targets": [
258 {
259 "expr": "sum(ceph_osd_stat_bytes)",
260 "interval": "",
261 "legendFormat": "",
262 "refId": "A"
263 }
264 ],
265 "thresholds": "",
266 "timeFrom": null,
267 "timeShift": null,
268 "title": "Total Raw Capacity",
269 "type": "singlestat",
270 "valueFontSize": "80%",
271 "valueMaps": [
272 {
273 "op": "=",
274 "text": "N/A",
275 "value": "null"
276 }
277 ],
278 "valueName": "current"
279 },
280 {
281 "cacheTimeout": null,
282 "colorBackground": false,
283 "colorValue": false,
284 "colors": [
285 "#299c46",
286 "rgba(237, 129, 40, 0.89)",
287 "#d44a3a"
288 ],
289 "datasource": "$datasource",
290 "description": "Total raw capacity consumed by user data and associated overheads (metadata + redundancy)",
291 "format": "bytes",
292 "gauge": {
293 "maxValue": 100,
294 "minValue": 0,
295 "show": false,
296 "thresholdLabels": false,
297 "thresholdMarkers": true
298 },
299 "gridPos": {
300 "h": 3,
301 "w": 3,
302 "x": 9,
303 "y": 0
304 },
305 "id": 25,
306 "interval": null,
307 "links": [],
308 "mappingType": 1,
309 "mappingTypes": [
310 {
311 "name": "value to text",
312 "value": 1
313 },
314 {
315 "name": "range to text",
316 "value": 2
317 }
318 ],
319 "maxDataPoints": 100,
320 "nullPointMode": "connected",
321 "nullText": null,
322 "postfix": "",
323 "postfixFontSize": "50%",
324 "prefix": "",
325 "prefixFontSize": "50%",
326 "rangeMaps": [
327 {
328 "from": "null",
329 "text": "N/A",
330 "to": "null"
331 }
332 ],
333 "sparkline": {
334 "fillColor": "rgba(31, 118, 189, 0.18)",
335 "full": false,
336 "lineColor": "rgb(31, 120, 193)",
337 "show": false,
338 "ymax": null,
339 "ymin": null
340 },
341 "tableColumn": "",
342 "targets": [
343 {
344 "expr": "sum(ceph_pool_bytes_used)",
345 "instant": true,
346 "interval": "",
347 "legendFormat": "",
348 "refId": "A"
349 }
350 ],
351 "thresholds": "",
352 "timeFrom": null,
353 "timeShift": null,
354 "title": "Raw Capacity Consumed",
355 "type": "singlestat",
356 "valueFontSize": "80%",
357 "valueMaps": [
358 {
359 "op": "=",
360 "text": "N/A",
361 "value": "null"
362 }
363 ],
364 "valueName": "current",
365 "decimals": 2
366 },
367 {
368 "cacheTimeout": null,
369 "colorBackground": false,
370 "colorValue": false,
371 "colors": [
372 "#299c46",
373 "rgba(237, 129, 40, 0.89)",
374 "#d44a3a"
375 ],
376 "datasource": "$datasource",
377 "decimals": 1,
378 "description": "Total of client data stored in the cluster",
379 "format": "bytes",
380 "gauge": {
381 "maxValue": 100,
382 "minValue": 0,
383 "show": false,
384 "thresholdLabels": false,
385 "thresholdMarkers": true
386 },
387 "gridPos": {
388 "h": 3,
389 "w": 3,
390 "x": 12,
391 "y": 0
392 },
393 "id": 23,
394 "interval": null,
395 "links": [],
396 "mappingType": 1,
397 "mappingTypes": [
398 {
399 "name": "value to text",
400 "value": 1
401 },
402 {
403 "name": "range to text",
404 "value": 2
405 }
406 ],
407 "maxDataPoints": 100,
408 "nullPointMode": "connected",
409 "nullText": null,
410 "postfix": "",
411 "postfixFontSize": "50%",
412 "prefix": "",
413 "prefixFontSize": "50%",
414 "rangeMaps": [
415 {
416 "from": "null",
417 "text": "N/A",
418 "to": "null"
419 }
420 ],
421 "sparkline": {
422 "fillColor": "rgba(31, 118, 189, 0.18)",
423 "full": false,
424 "lineColor": "rgb(31, 120, 193)",
425 "show": false,
426 "ymax": null,
427 "ymin": null
428 },
429 "tableColumn": "",
430 "targets": [
431 {
432 "expr": "sum(ceph_pool_stored)",
433 "instant": true,
434 "interval": "",
435 "legendFormat": "",
436 "refId": "A"
437 }
438 ],
439 "thresholds": "",
440 "timeFrom": null,
441 "timeShift": null,
442 "title": "Logical Stored ",
443 "type": "singlestat",
444 "valueFontSize": "80%",
445 "valueMaps": [
446 {
447 "op": "=",
448 "text": "N/A",
449 "value": "null"
450 }
451 ],
452 "valueName": "current"
453 },
454 {
455 "cacheTimeout": null,
456 "colorBackground": false,
457 "colorValue": false,
458 "colors": [
459 "#299c46",
460 "rgba(237, 129, 40, 0.89)",
461 "#d44a3a"
462 ],
463 "datasource": "$datasource",
464 "decimals": 1,
465 "description": "A compression saving is determined as the data eligible to be compressed minus the capacity used to store the data after compression",
466 "format": "bytes",
467 "gauge": {
468 "maxValue": 100,
469 "minValue": 0,
470 "show": false,
471 "thresholdLabels": false,
472 "thresholdMarkers": true
473 },
474 "gridPos": {
475 "h": 3,
476 "w": 3,
477 "x": 15,
478 "y": 0
479 },
480 "id": 9,
481 "interval": null,
482 "links": [],
483 "mappingType": 1,
484 "mappingTypes": [
485 {
486 "name": "value to text",
487 "value": 1
488 },
489 {
490 "name": "range to text",
491 "value": 2
492 }
493 ],
494 "maxDataPoints": 100,
495 "nullPointMode": "connected",
496 "nullText": null,
497 "postfix": "",
498 "postfixFontSize": "50%",
499 "prefix": "",
500 "prefixFontSize": "50%",
501 "rangeMaps": [
502 {
503 "from": "null",
504 "text": "N/A",
505 "to": "null"
506 }
507 ],
508 "sparkline": {
509 "fillColor": "rgba(31, 118, 189, 0.18)",
510 "full": false,
511 "lineColor": "rgb(31, 120, 193)",
512 "show": false,
513 "ymax": null,
514 "ymin": null
515 },
516 "tableColumn": "",
517 "targets": [
518 {
519 "expr": "sum(ceph_pool_compress_under_bytes - ceph_pool_compress_bytes_used)",
520 "interval": "",
521 "legendFormat": "",
522 "refId": "A"
523 }
524 ],
525 "thresholds": "",
526 "timeFrom": null,
527 "timeShift": null,
528 "title": "Compression Savings",
529 "type": "singlestat",
530 "valueFontSize": "80%",
531 "valueMaps": [
532 {
533 "op": "=",
534 "text": "N/A",
535 "value": "null"
536 }
537 ],
538 "valueName": "current"
539 },
540 {
541 "cacheTimeout": null,
542 "colorBackground": false,
543 "colorValue": false,
544 "colors": [
545 "#299c46",
546 "rgba(237, 129, 40, 0.89)",
547 "#d44a3a"
548 ],
549 "datasource": "$datasource",
550 "description": "Indicates how suitable the data is within the pools that are/have been enabled for compression - averaged across all pools holding compressed data\n",
551 "format": "percent",
552 "gauge": {
553 "maxValue": 100,
554 "minValue": 0,
555 "show": false,
556 "thresholdLabels": false,
557 "thresholdMarkers": true
558 },
559 "gridPos": {
560 "h": 3,
561 "w": 3,
562 "x": 18,
563 "y": 0
564 },
565 "id": 17,
566 "interval": null,
567 "links": [],
568 "mappingType": 1,
569 "mappingTypes": [
570 {
571 "name": "value to text",
572 "value": 1
573 },
574 {
575 "name": "range to text",
576 "value": 2
577 }
578 ],
579 "maxDataPoints": 100,
580 "nullPointMode": "connected",
581 "nullText": null,
582 "postfix": "",
583 "postfixFontSize": "50%",
584 "prefix": "",
585 "prefixFontSize": "50%",
586 "rangeMaps": [
587 {
588 "from": "null",
589 "text": "N/A",
590 "to": "null"
591 }
592 ],
593 "sparkline": {
594 "fillColor": "rgba(31, 118, 189, 0.18)",
595 "full": false,
596 "lineColor": "rgb(31, 120, 193)",
597 "show": false,
598 "ymax": null,
599 "ymin": null
600 },
601 "tableColumn": "",
602 "targets": [
603 {
604 "expr": "(sum(ceph_pool_compress_under_bytes > 0) / sum(ceph_pool_stored_raw and ceph_pool_compress_under_bytes > 0)) * 100",
605 "format": "table",
606 "hide": false,
607 "interval": "",
608 "legendFormat": "",
609 "refId": "A"
610 }
611 ],
612 "thresholds": "",
613 "timeFrom": null,
614 "timeShift": null,
615 "title": "Compression Eligibility",
616 "type": "singlestat",
617 "valueFontSize": "80%",
618 "valueMaps": [
619 {
620 "op": "=",
621 "text": "N/A",
622 "value": "null"
623 }
624 ],
625 "valueName": "current"
626 },
627 {
628 "cacheTimeout": null,
629 "colorBackground": false,
630 "colorValue": false,
631 "colors": [
632 "#299c46",
633 "rgba(237, 129, 40, 0.89)",
634 "#d44a3a"
635 ],
636 "datasource": "$datasource",
637 "description": "This factor describes the average ratio of data eligible to be compressed divided by the data actually stored. It does not account for data written that was ineligible for compression (too small, or compression yield too low)",
638 "format": "none",
639 "gauge": {
640 "maxValue": 100,
641 "minValue": 0,
642 "show": false,
643 "thresholdLabels": false,
644 "thresholdMarkers": true
645 },
646 "gridPos": {
647 "h": 3,
648 "w": 3,
649 "x": 21,
650 "y": 0
651 },
652 "id": 15,
653 "interval": null,
654 "links": [],
655 "mappingType": 1,
656 "mappingTypes": [
657 {
658 "name": "value to text",
659 "value": 1
660 },
661 {
662 "name": "range to text",
663 "value": 2
664 }
665 ],
666 "maxDataPoints": 100,
667 "nullPointMode": "connected",
668 "nullText": null,
669 "postfix": "",
670 "postfixFontSize": "80%",
671 "prefix": "",
672 "prefixFontSize": "50%",
673 "rangeMaps": [
674 {
675 "from": "null",
676 "text": "N/A",
677 "to": "null"
678 }
679 ],
680 "sparkline": {
681 "fillColor": "rgba(31, 118, 189, 0.18)",
682 "full": false,
683 "lineColor": "rgb(31, 120, 193)",
684 "show": false,
685 "ymax": null,
686 "ymin": null
687 },
688 "tableColumn": "",
689 "targets": [
690 {
691 "expr": "sum(ceph_pool_compress_under_bytes > 0) / sum(ceph_pool_compress_bytes_used > 0)",
692 "interval": "",
693 "legendFormat": "",
694 "refId": "A"
695 }
696 ],
697 "thresholds": "",
698 "timeFrom": null,
699 "timeShift": null,
700 "title": "Compression Factor",
701 "type": "singlestat",
702 "valueFontSize": "80%",
703 "valueMaps": [
704 {
705 "op": "=",
706 "text": "N/A",
707 "value": "null"
708 }
709 ],
710 "valueName": "current"
711 },
712 {
713 "columns": [],
714 "datasource": "$datasource",
715 "fontSize": "100%",
716 "gridPos": {
717 "h": 6,
718 "w": 24,
719 "x": 0,
720 "y": 3
721 },
722 "id": 5,
723 "links": [],
724 "maxPerRow": 3,
725 "pageSize": null,
726 "scroll": true,
727 "showHeader": true,
728 "sort": {
729 "col": 5,
730 "desc": true
731 },
732 "styles": [
733 {
734 "alias": "",
735 "align": "auto",
736 "colorMode": null,
737 "colors": [
738 "rgba(245, 54, 54, 0.9)",
739 "rgba(237, 129, 40, 0.89)",
740 "rgba(50, 172, 45, 0.97)"
741 ],
742 "dateFormat": "YYYY-MM-DD HH:mm:ss",
743 "decimals": 2,
744 "pattern": "Time",
745 "thresholds": [],
746 "type": "hidden",
747 "unit": "short"
748 },
749 {
750 "alias": "",
751 "align": "auto",
752 "colorMode": null,
753 "colors": [
754 "rgba(245, 54, 54, 0.9)",
755 "rgba(237, 129, 40, 0.89)",
756 "rgba(50, 172, 45, 0.97)"
757 ],
758 "dateFormat": "YYYY-MM-DD HH:mm:ss",
759 "decimals": 2,
760 "pattern": "instance",
761 "thresholds": [],
762 "type": "hidden",
763 "unit": "short"
764 },
765 {
766 "alias": "",
767 "align": "auto",
768 "colorMode": null,
769 "colors": [
770 "rgba(245, 54, 54, 0.9)",
771 "rgba(237, 129, 40, 0.89)",
772 "rgba(50, 172, 45, 0.97)"
773 ],
774 "dateFormat": "YYYY-MM-DD HH:mm:ss",
775 "decimals": 2,
776 "pattern": "job",
777 "thresholds": [],
778 "type": "hidden",
779 "unit": "short"
780 },
781 {
782 "alias": "Pool Name",
783 "align": "auto",
784 "colorMode": null,
785 "colors": [
786 "rgba(245, 54, 54, 0.9)",
787 "rgba(237, 129, 40, 0.89)",
788 "rgba(50, 172, 45, 0.97)"
789 ],
790 "dateFormat": "YYYY-MM-DD HH:mm:ss",
791 "decimals": 2,
792 "pattern": "name",
793 "thresholds": [],
794 "type": "string",
795 "unit": "short"
796 },
797 {
798 "alias": "Pool ID",
799 "align": "auto",
800 "colorMode": null,
801 "colors": [
802 "rgba(245, 54, 54, 0.9)",
803 "rgba(237, 129, 40, 0.89)",
804 "rgba(50, 172, 45, 0.97)"
805 ],
806 "dateFormat": "YYYY-MM-DD HH:mm:ss",
807 "decimals": 0,
808 "pattern": "pool_id",
809 "thresholds": [],
810 "type": "hidden",
811 "unit": "none"
812 },
813 {
814 "alias": "Compression Factor",
815 "align": "auto",
816 "colorMode": null,
817 "colors": [
818 "rgba(245, 54, 54, 0.9)",
819 "rgba(237, 129, 40, 0.89)",
820 "rgba(50, 172, 45, 0.97)"
821 ],
822 "dateFormat": "YYYY-MM-DD HH:mm:ss",
823 "decimals": 1,
824 "mappingType": 1,
825 "pattern": "Value #A",
826 "thresholds": [],
827 "type": "number",
828 "unit": "none"
829 },
830 {
831 "alias": "% Used",
832 "align": "auto",
833 "colorMode": "value",
834 "colors": [
835 "rgb(0, 0, 0)",
836 "rgba(237, 129, 40, 0.89)",
837 "rgba(245, 54, 54, 0.9)"
838 ],
839 "dateFormat": "YYYY-MM-DD HH:mm:ss",
840 "decimals": 2,
841 "mappingType": 1,
842 "pattern": "Value #D",
843 "thresholds": [
844 "70",
845 "85"
846 ],
847 "type": "number",
848 "unit": "percentunit"
849 },
850 {
851 "alias": "Usable Free",
852 "align": "auto",
853 "colorMode": null,
854 "colors": [
855 "rgba(245, 54, 54, 0.9)",
856 "rgba(237, 129, 40, 0.89)",
857 "rgba(50, 172, 45, 0.97)"
858 ],
859 "dateFormat": "YYYY-MM-DD HH:mm:ss",
860 "decimals": 2,
861 "mappingType": 1,
862 "pattern": "Value #B",
863 "thresholds": [],
864 "type": "number",
865 "unit": "bytes"
866 },
867 {
868 "alias": "Compression Eligibility",
869 "align": "auto",
870 "colorMode": null,
871 "colors": [
872 "rgba(245, 54, 54, 0.9)",
873 "rgba(237, 129, 40, 0.89)",
874 "rgba(50, 172, 45, 0.97)"
875 ],
876 "dateFormat": "YYYY-MM-DD HH:mm:ss",
877 "decimals": 0,
878 "mappingType": 1,
879 "pattern": "Value #C",
880 "thresholds": [],
881 "type": "number",
882 "unit": "percent"
883 },
884 {
885 "alias": "Compression Savings",
886 "align": "auto",
887 "colorMode": null,
888 "colors": [
889 "rgba(245, 54, 54, 0.9)",
890 "rgba(237, 129, 40, 0.89)",
891 "rgba(50, 172, 45, 0.97)"
892 ],
893 "dateFormat": "YYYY-MM-DD HH:mm:ss",
894 "decimals": 1,
895 "mappingType": 1,
896 "pattern": "Value #E",
897 "thresholds": [],
898 "type": "number",
899 "unit": "bytes"
900 },
901 {
902 "alias": "Growth (5d)",
903 "align": "auto",
904 "colorMode": "value",
905 "colors": [
906 "rgba(245, 54, 54, 0.9)",
907 "rgba(237, 129, 40, 0.89)",
908 "rgba(50, 172, 45, 0.97)"
909 ],
910 "dateFormat": "YYYY-MM-DD HH:mm:ss",
911 "decimals": 2,
912 "mappingType": 1,
913 "pattern": "Value #F",
914 "thresholds": [
915 "0",
916 "0"
917 ],
918 "type": "number",
919 "unit": "bytes"
920 },
921 {
922 "alias": "IOPS",
923 "align": "auto",
924 "colorMode": null,
925 "colors": [
926 "rgba(245, 54, 54, 0.9)",
927 "rgba(237, 129, 40, 0.89)",
928 "rgba(50, 172, 45, 0.97)"
929 ],
930 "dateFormat": "YYYY-MM-DD HH:mm:ss",
931 "decimals": 0,
932 "mappingType": 1,
933 "pattern": "Value #G",
934 "thresholds": [],
935 "type": "number",
936 "unit": "none"
937 },
938 {
939 "alias": "Bandwidth",
940 "align": "auto",
941 "colorMode": null,
942 "colors": [
943 "rgba(245, 54, 54, 0.9)",
944 "rgba(237, 129, 40, 0.89)",
945 "rgba(50, 172, 45, 0.97)"
946 ],
947 "dateFormat": "YYYY-MM-DD HH:mm:ss",
948 "decimals": 0,
949 "mappingType": 1,
950 "pattern": "Value #H",
951 "thresholds": [],
952 "type": "number",
953 "unit": "Bps"
954 },
955 {
956 "alias": "",
957 "align": "auto",
958 "colorMode": null,
959 "colors": [
960 "rgba(245, 54, 54, 0.9)",
961 "rgba(237, 129, 40, 0.89)",
962 "rgba(50, 172, 45, 0.97)"
963 ],
964 "dateFormat": "YYYY-MM-DD HH:mm:ss",
965 "decimals": 2,
966 "mappingType": 1,
967 "pattern": "__name__",
968 "thresholds": [],
969 "type": "hidden",
970 "unit": "short"
971 },
972 {
973 "alias": "",
974 "align": "auto",
975 "colorMode": null,
976 "colors": [
977 "rgba(245, 54, 54, 0.9)",
978 "rgba(237, 129, 40, 0.89)",
979 "rgba(50, 172, 45, 0.97)"
980 ],
981 "dateFormat": "YYYY-MM-DD HH:mm:ss",
982 "decimals": 2,
983 "mappingType": 1,
984 "pattern": "type",
985 "thresholds": [],
986 "type": "hidden",
987 "unit": "short"
988 },
989 {
990 "alias": "",
991 "align": "auto",
992 "colorMode": null,
993 "colors": [
994 "rgba(245, 54, 54, 0.9)",
995 "rgba(237, 129, 40, 0.89)",
996 "rgba(50, 172, 45, 0.97)"
997 ],
998 "dateFormat": "YYYY-MM-DD HH:mm:ss",
999 "decimals": 2,
1000 "mappingType": 1,
1001 "pattern": "compression_mode",
1002 "thresholds": [],
1003 "type": "hidden",
1004 "unit": "short"
1005 },
1006 {
1007 "alias": "Type",
1008 "align": "auto",
1009 "colorMode": null,
1010 "colors": [
1011 "rgba(245, 54, 54, 0.9)",
1012 "rgba(237, 129, 40, 0.89)",
1013 "rgba(50, 172, 45, 0.97)"
1014 ],
1015 "dateFormat": "YYYY-MM-DD HH:mm:ss",
1016 "decimals": 2,
1017 "mappingType": 1,
1018 "pattern": "description",
1019 "thresholds": [],
1020 "type": "string",
1021 "unit": "short"
1022 },
1023 {
1024 "alias": "Stored",
1025 "align": "auto",
1026 "colorMode": null,
1027 "colors": [
1028 "rgba(245, 54, 54, 0.9)",
1029 "rgba(237, 129, 40, 0.89)",
1030 "rgba(50, 172, 45, 0.97)"
1031 ],
1032 "dateFormat": "YYYY-MM-DD HH:mm:ss",
1033 "decimals": 1,
1034 "mappingType": 1,
1035 "pattern": "Value #J",
1036 "thresholds": [],
1037 "type": "number",
1038 "unit": "bytes"
1039 },
1040 {
1041 "alias": "",
1042 "align": "auto",
1043 "colorMode": null,
1044 "colors": [
1045 "rgba(245, 54, 54, 0.9)",
1046 "rgba(237, 129, 40, 0.89)",
1047 "rgba(50, 172, 45, 0.97)"
1048 ],
1049 "dateFormat": "YYYY-MM-DD HH:mm:ss",
1050 "decimals": 2,
1051 "mappingType": 1,
1052 "pattern": "Value #I",
1053 "thresholds": [],
1054 "type": "hidden",
1055 "unit": "short"
1056 },
1057 {
1058 "alias": "Compression",
1059 "align": "auto",
1060 "colorMode": null,
1061 "colors": [
1062 "rgba(245, 54, 54, 0.9)",
1063 "rgba(237, 129, 40, 0.89)",
1064 "rgba(50, 172, 45, 0.97)"
1065 ],
1066 "dateFormat": "YYYY-MM-DD HH:mm:ss",
1067 "decimals": 2,
1068 "mappingType": 1,
1069 "pattern": "Value #K",
1070 "thresholds": [],
1071 "type": "string",
1072 "unit": "short",
1073 "valueMaps": [
1074 {
1075 "text": "ON",
1076 "value": "1"
1077 }
1078 ]
1079 }
1080 ],
1081 "targets": [
1082 {
1083 "expr": "(ceph_pool_percent_used * on(pool_id) group_left(name) ceph_pool_metadata)",
1084 "format": "table",
1085 "hide": false,
1086 "instant": true,
1087 "interval": "",
1088 "intervalFactor": 1,
1089 "legendFormat": "",
1090 "refId": "D"
1091 },
1092 {
1093 "expr": "ceph_pool_stored * on(pool_id) group_left ceph_pool_metadata",
1094 "format": "table",
1095 "instant": true,
1096 "interval": "",
1097 "legendFormat": "",
1098 "refId": "J"
1099 },
1100 {
1101 "expr": "ceph_pool_max_avail * on(pool_id) group_left(name) ceph_pool_metadata",
1102 "format": "table",
1103 "instant": true,
1104 "interval": "",
1105 "legendFormat": "",
1106 "refId": "B"
1107 },
1108 {
1109 "expr": "delta(ceph_pool_stored[5d])",
1110 "format": "table",
1111 "instant": true,
1112 "interval": "",
1113 "legendFormat": "",
1114 "refId": "F"
1115 },
1116 {
1117 "expr": "ceph_pool_metadata",
1118 "format": "table",
1119 "instant": true,
1120 "interval": "",
1121 "legendFormat": "",
1122 "refId": "I"
1123 },
1124 {
1125 "expr": "ceph_pool_metadata{compression_mode!=\"none\"}",
1126 "format": "table",
1127 "instant": true,
1128 "interval": "",
1129 "legendFormat": "",
1130 "refId": "K"
1131 },
1132 {
1133 "expr": "(ceph_pool_compress_under_bytes / ceph_pool_compress_bytes_used > 0) and on(pool_id) (((ceph_pool_compress_under_bytes > 0) / ceph_pool_stored_raw) * 100 > 0.5)",
1134 "format": "table",
1135 "hide": false,
1136 "instant": true,
1137 "interval": "",
1138 "intervalFactor": 1,
1139 "legendFormat": "",
1140 "refId": "A"
1141 },
1142 {
1143 "expr": "((ceph_pool_compress_under_bytes > 0) / ceph_pool_stored_raw) * 100",
1144 "format": "table",
1145 "instant": true,
1146 "interval": "",
1147 "legendFormat": "",
1148 "refId": "C"
1149 },
1150 {
1151 "expr": "(ceph_pool_compress_under_bytes - ceph_pool_compress_bytes_used > 0)",
1152 "format": "table",
1153 "instant": true,
1154 "interval": "",
1155 "legendFormat": "",
1156 "refId": "E"
1157 },
1158 {
1159 "expr": "rate(ceph_pool_rd[30s]) + rate(ceph_pool_wr[30s])",
1160 "format": "table",
1161 "instant": true,
1162 "interval": "",
1163 "legendFormat": "",
1164 "refId": "G"
1165 },
1166 {
1167 "expr": "rate(ceph_pool_rd_bytes[30s]) + rate(ceph_pool_wr_bytes[30s])",
1168 "format": "table",
1169 "instant": true,
1170 "interval": "",
1171 "legendFormat": "",
1172 "refId": "H"
1173 },
1174 {
1175 "expr": "",
1176 "interval": "",
1177 "legendFormat": "",
1178 "refId": "L"
1179 }
1180 ],
1181 "title": "Pool Overview",
1182 "transform": "table",
1183 "type": "table"
1184 },
1185 {
1186 "aliasColors": {},
1187 "bars": false,
1188 "dashLength": 10,
1189 "dashes": false,
1190 "datasource": "$datasource",
1191 "description": "This chart shows the sum of read and write IOPS from all clients by pool",
1192 "fill": 1,
1193 "fillGradient": 0,
1194 "gridPos": {
1195 "h": 8,
1196 "w": 12,
1197 "x": 0,
1198 "y": 9
1199 },
1200 "hiddenSeries": false,
1201 "id": 1,
1202 "legend": {
1203 "avg": false,
1204 "current": false,
1205 "max": false,
1206 "min": false,
1207 "show": true,
1208 "total": false,
1209 "values": false
1210 },
1211 "lines": true,
1212 "linewidth": 1,
1213 "links": [],
1214 "maxPerRow": 2,
1215 "nullPointMode": "null as zero",
1216 "options": {
1217 "dataLinks": []
1218 },
1219 "percentage": false,
1220 "pointradius": 5,
1221 "points": false,
1222 "renderer": "flot",
1223 "seriesOverrides": [],
1224 "spaceLength": 10,
1225 "stack": false,
1226 "steppedLine": false,
1227 "targets": [
1228 {
1229 "expr": "topk($topk,round((rate(ceph_pool_rd[30s]) + rate(ceph_pool_wr[30s])),1) * on(pool_id) group_left(instance,name) ceph_pool_metadata) ",
1230 "format": "time_series",
1231 "hide": false,
1232 "interval": "",
1233 "intervalFactor": 1,
1234 "legendFormat": "{{name}} ",
1235 "refId": "F"
1236 },
1237 {
1238 "expr": "topk($topk,rate(ceph_pool_wr[30s]) + on(pool_id) group_left(instance,name) ceph_pool_metadata) ",
1239 "format": "time_series",
1240 "hide": true,
1241 "interval": "",
1242 "intervalFactor": 1,
1243 "legendFormat": "{{name}} - write",
1244 "refId": "A"
1245 }
1246 ],
1247 "thresholds": [],
1248 "timeFrom": null,
1249 "timeRegions": [],
1250 "timeShift": null,
1251 "title": "Top $topk Client IOPS by Pool",
1252 "tooltip": {
1253 "shared": true,
1254 "sort": 2,
1255 "value_type": "individual"
1256 },
1257 "type": "graph",
1258 "xaxis": {
1259 "buckets": null,
1260 "mode": "time",
1261 "name": null,
1262 "show": true,
1263 "values": []
1264 },
1265 "yaxes": [
1266 {
1267 "decimals": 0,
1268 "format": "short",
1269 "label": "IOPS",
1270 "logBase": 1,
1271 "max": null,
1272 "min": "0",
1273 "show": true
1274 },
1275 {
1276 "format": "short",
1277 "label": null,
1278 "logBase": 1,
1279 "max": null,
1280 "min": null,
1281 "show": false
1282 }
1283 ],
1284 "yaxis": {
1285 "align": false,
1286 "alignLevel": null
1287 }
1288 },
1289 {
1290 "aliasColors": {},
1291 "bars": false,
1292 "dashLength": 10,
1293 "dashes": false,
1294 "datasource": "$datasource",
1295 "description": "The chart shows the sum of read and write bytes from all clients, by pool",
1296 "fill": 1,
1297 "fillGradient": 0,
1298 "gridPos": {
1299 "h": 8,
1300 "w": 12,
1301 "x": 12,
1302 "y": 9
1303 },
1304 "hiddenSeries": false,
1305 "id": 2,
1306 "legend": {
1307 "avg": false,
1308 "current": false,
1309 "max": false,
1310 "min": false,
1311 "show": true,
1312 "total": false,
1313 "values": false
1314 },
1315 "lines": true,
1316 "linewidth": 2,
1317 "links": [],
1318 "maxPerRow": 2,
1319 "nullPointMode": "null as zero",
1320 "options": {
1321 "dataLinks": []
1322 },
1323 "percentage": false,
1324 "pointradius": 5,
1325 "points": false,
1326 "renderer": "flot",
1327 "seriesOverrides": [],
1328 "spaceLength": 10,
1329 "stack": false,
1330 "steppedLine": false,
1331 "targets": [
1332 {
1333 "expr": "topk($topk,(rate(ceph_pool_rd_bytes[30s]) + rate(ceph_pool_wr_bytes[30s])) * on(pool_id) group_left(instance,name) ceph_pool_metadata)",
1334 "format": "time_series",
1335 "interval": "",
1336 "intervalFactor": 1,
1337 "legendFormat": "{{name}}",
1338 "refId": "A",
1339 "textEditor": true
1340 }
1341 ],
1342 "thresholds": [],
1343 "timeFrom": null,
1344 "timeRegions": [],
1345 "timeShift": null,
1346 "title": "Top $topk Client Bandwidth by Pool",
1347 "tooltip": {
1348 "shared": true,
1349 "sort": 2,
1350 "value_type": "individual"
1351 },
1352 "type": "graph",
1353 "xaxis": {
1354 "buckets": null,
1355 "mode": "time",
1356 "name": null,
1357 "show": true,
1358 "values": []
1359 },
1360 "yaxes": [
1361 {
1362 "format": "Bps",
1363 "label": "Throughput",
1364 "logBase": 1,
1365 "max": null,
1366 "min": "0",
1367 "show": true
1368 },
1369 {
1370 "format": "short",
1371 "label": null,
1372 "logBase": 1,
1373 "max": null,
1374 "min": null,
1375 "show": false
1376 }
1377 ],
1378 "yaxis": {
1379 "align": false,
1380 "alignLevel": null
1381 }
1382 },
1383 {
1384 "aliasColors": {},
1385 "bars": false,
1386 "dashLength": 10,
1387 "dashes": false,
1388 "datasource": "$datasource",
1389 "description": "Historical view of capacity usage, to help identify growth and trends in pool consumption",
1390 "fill": 1,
1391 "fillGradient": 0,
1392 "gridPos": {
1393 "h": 7,
1394 "w": 24,
1395 "x": 0,
1396 "y": 17
1397 },
1398 "hiddenSeries": false,
1399 "id": 19,
1400 "legend": {
1401 "avg": false,
1402 "current": false,
1403 "max": false,
1404 "min": false,
1405 "show": true,
1406 "total": false,
1407 "values": false
1408 },
1409 "lines": true,
1410 "linewidth": 1,
1411 "nullPointMode": "null",
1412 "options": {
1413 "dataLinks": []
1414 },
1415 "percentage": false,
1416 "pointradius": 2,
1417 "points": false,
1418 "renderer": "flot",
1419 "seriesOverrides": [],
1420 "spaceLength": 10,
1421 "stack": true,
1422 "steppedLine": false,
1423 "targets": [
1424 {
1425 "expr": "ceph_pool_bytes_used * on(pool_id) group_right ceph_pool_metadata",
1426 "interval": "",
1427 "legendFormat": "{{name}}",
1428 "refId": "A"
1429 }
1430 ],
1431 "thresholds": [],
1432 "timeFrom": "14d",
1433 "timeRegions": [
1434 {
1435 "colorMode": "background6",
1436 "fill": true,
1437 "fillColor": "rgba(234, 112, 112, 0.12)",
1438 "line": false,
1439 "lineColor": "rgba(237, 46, 24, 0.60)",
1440 "op": "time"
1441 }
1442 ],
1443 "timeShift": null,
1444 "title": "Pool Capacity Usage (RAW)",
1445 "tooltip": {
1446 "shared": true,
1447 "sort": 0,
1448 "value_type": "individual"
1449 },
1450 "type": "graph",
1451 "xaxis": {
1452 "buckets": null,
1453 "mode": "time",
1454 "name": null,
1455 "show": true,
1456 "values": []
1457 },
1458 "yaxes": [
1459 {
1460 "decimals": 1,
1461 "format": "bytes",
1462 "label": "Capacity Used",
1463 "logBase": 1,
1464 "max": null,
1465 "min": "0",
1466 "show": true
1467 },
1468 {
1469 "format": "short",
1470 "label": null,
1471 "logBase": 1,
1472 "max": null,
1473 "min": null,
1474 "show": true
1475 }
1476 ],
1477 "yaxis": {
1478 "align": false,
1479 "alignLevel": null
1480 }
1481 }
1482 ],
1483 "refresh": "15s",
1484 "schemaVersion": 22,
1485 "style": "dark",
1486 "tags": [],
1487 "templating": {
1488 "list": [
1489 {
1490 "current": {
1491 "selected": false,
1492 "text": "Dashboard1",
1493 "value": "Dashboard1"
1494 },
1495 "hide": 0,
1496 "includeAll": false,
1497 "label": "Data Source",
1498 "multi": false,
1499 "name": "datasource",
1500 "options": [],
1501 "query": "prometheus",
1502 "refresh": 1,
1503 "regex": "",
1504 "skipUrlSync": false,
1505 "type": "datasource"
1506 },
1507 {
1508 "current": {
1509 "text": "15",
1510 "value": "15"
1511 },
1512 "hide": 0,
1513 "label": "Top K",
1514 "name": "topk",
1515 "options": [
1516 {
1517 "text": "15",
1518 "value": "15"
1519 }
1520 ],
1521 "query": "15",
1522 "skipUrlSync": false,
1523 "type": "textbox"
1524 }
1525 ]
1526 },
1527 "time": {
1528 "from": "now-1h",
1529 "to": "now"
1530 },
1531 "timepicker": {
1532 "refresh_intervals": [
1533 "5s",
1534 "10s",
1535 "15s",
1536 "30s",
1537 "1m",
1538 "5m",
1539 "15m",
1540 "30m",
1541 "1h",
1542 "2h",
1543 "1d"
1544 ],
1545 "time_options": [
1546 "5m",
1547 "15m",
1548 "1h",
1549 "6h",
1550 "12h",
1551 "24h",
1552 "2d",
1553 "7d",
1554 "30d"
1555 ]
1556 },
1557 "timezone": "",
1558 "title": "Ceph Pools Overview",
1559 "uid": "z99hzWtmk",
1560 "variables": {
1561 "list": []
1562 },
1563 "version": 10
1564 }