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