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