]> git.proxmox.com Git - ceph.git/blob - ceph/monitoring/ceph-mixin/dashboards_out/osds-overview.json
import ceph quincy 17.2.6
[ceph.git] / ceph / monitoring / ceph-mixin / dashboards_out / osds-overview.json
1 {
2 "__inputs": [ ],
3 "__requires": [
4 {
5 "id": "grafana",
6 "name": "Grafana",
7 "type": "grafana",
8 "version": "5.0.0"
9 },
10 {
11 "id": "grafana-piechart-panel",
12 "name": "Pie Chart",
13 "type": "panel",
14 "version": "1.3.3"
15 },
16 {
17 "id": "graph",
18 "name": "Graph",
19 "type": "panel",
20 "version": "5.0.0"
21 },
22 {
23 "id": "table",
24 "name": "Table",
25 "type": "panel",
26 "version": "5.0.0"
27 }
28 ],
29 "annotations": {
30 "list": [
31 {
32 "builtIn": 1,
33 "datasource": "-- Grafana --",
34 "enable": true,
35 "hide": true,
36 "iconColor": "rgba(0, 211, 255, 1)",
37 "name": "Annotations & Alerts",
38 "showIn": 0,
39 "tags": [ ],
40 "type": "dashboard"
41 }
42 ]
43 },
44 "description": "",
45 "editable": false,
46 "gnetId": null,
47 "graphTooltip": 0,
48 "hideControls": false,
49 "id": null,
50 "links": [ ],
51 "panels": [
52 {
53 "aliasColors": {
54 "@95%ile": "#e0752d"
55 },
56 "bars": false,
57 "dashLength": 10,
58 "dashes": false,
59 "datasource": "$datasource",
60 "description": "",
61 "fill": 1,
62 "fillGradient": 0,
63 "gridPos": {
64 "h": 8,
65 "w": 8,
66 "x": 0,
67 "y": 0
68 },
69 "id": 2,
70 "legend": {
71 "alignAsTable": false,
72 "avg": false,
73 "current": false,
74 "max": false,
75 "min": false,
76 "rightSide": false,
77 "show": true,
78 "sideWidth": null,
79 "total": false,
80 "values": false
81 },
82 "lines": true,
83 "linewidth": 1,
84 "links": [ ],
85 "nullPointMode": "null",
86 "percentage": false,
87 "pointradius": 5,
88 "points": false,
89 "renderer": "flot",
90 "repeat": null,
91 "seriesOverrides": [ ],
92 "spaceLength": 10,
93 "stack": false,
94 "steppedLine": false,
95 "targets": [
96 {
97 "expr": "avg (\n rate(ceph_osd_op_r_latency_sum{job=~\"$job\"}[$__rate_interval]) /\n on (ceph_daemon) rate(ceph_osd_op_r_latency_count{job=~\"$job\"}[$__rate_interval]) * 1000\n)\n",
98 "format": "time_series",
99 "intervalFactor": 1,
100 "legendFormat": "AVG read",
101 "refId": "A"
102 },
103 {
104 "expr": "max(\n rate(ceph_osd_op_r_latency_sum{job=~\"$job\"}[$__rate_interval]) /\n on (ceph_daemon) rate(ceph_osd_op_r_latency_count{job=~\"$job\"}[$__rate_interval]) * 1000\n)\n",
105 "format": "time_series",
106 "intervalFactor": 1,
107 "legendFormat": "MAX read",
108 "refId": "B"
109 },
110 {
111 "expr": "quantile(0.95,\n (\n rate(ceph_osd_op_r_latency_sum{job=~\"$job\"}[$__rate_interval]) /\n on (ceph_daemon) rate(ceph_osd_op_r_latency_count{job=~\"$job\"}[$__rate_interval])\n * 1000\n )\n)\n",
112 "format": "time_series",
113 "intervalFactor": 1,
114 "legendFormat": "@95%ile",
115 "refId": "C"
116 }
117 ],
118 "thresholds": [ ],
119 "timeFrom": null,
120 "timeShift": null,
121 "title": "OSD Read Latencies",
122 "tooltip": {
123 "shared": true,
124 "sort": 0,
125 "value_type": "individual"
126 },
127 "type": "graph",
128 "xaxis": {
129 "buckets": null,
130 "mode": "time",
131 "name": null,
132 "show": true,
133 "values": [ ]
134 },
135 "yaxes": [
136 {
137 "format": "ms",
138 "label": null,
139 "logBase": 1,
140 "max": null,
141 "min": "0",
142 "show": true
143 },
144 {
145 "format": "short",
146 "label": null,
147 "logBase": 1,
148 "max": null,
149 "min": "0",
150 "show": true
151 }
152 ]
153 },
154 {
155 "columns": [ ],
156 "datasource": "$datasource",
157 "description": "This table shows the osd's that are delivering the 10 highest read latencies within the cluster",
158 "gridPos": {
159 "h": 8,
160 "w": 4,
161 "x": 8,
162 "y": 0
163 },
164 "id": 3,
165 "links": [ ],
166 "sort": {
167 "col": 2,
168 "desc": true
169 },
170 "styles": [
171 {
172 "alias": "OSD ID",
173 "colorMode": null,
174 "colors": [
175 "rgba(245, 54, 54, 0.9)",
176 "rgba(237, 129, 40, 0.89)",
177 "rgba(50, 172, 45, 0.97)"
178 ],
179 "dateFormat": "YYYY-MM-DD HH:mm:ss",
180 "decimals": 2,
181 "mappingType": 1,
182 "pattern": "ceph_daemon",
183 "thresholds": [ ],
184 "type": "string",
185 "unit": "short",
186 "valueMaps": [ ]
187 },
188 {
189 "alias": "Latency (ms)",
190 "colorMode": null,
191 "colors": [
192 "rgba(245, 54, 54, 0.9)",
193 "rgba(237, 129, 40, 0.89)",
194 "rgba(50, 172, 45, 0.97)"
195 ],
196 "dateFormat": "YYYY-MM-DD HH:mm:ss",
197 "decimals": 2,
198 "mappingType": 1,
199 "pattern": "Value",
200 "thresholds": [ ],
201 "type": "number",
202 "unit": "none",
203 "valueMaps": [ ]
204 },
205 {
206 "alias": "",
207 "colorMode": null,
208 "colors": [
209 "rgba(245, 54, 54, 0.9)",
210 "rgba(237, 129, 40, 0.89)",
211 "rgba(50, 172, 45, 0.97)"
212 ],
213 "dateFormat": "YYYY-MM-DD HH:mm:ss",
214 "decimals": 2,
215 "mappingType": 1,
216 "pattern": "/.*/",
217 "thresholds": [ ],
218 "type": "hidden",
219 "unit": "short",
220 "valueMaps": [ ]
221 }
222 ],
223 "targets": [
224 {
225 "expr": "topk(10,\n (sort(\n (\n rate(ceph_osd_op_r_latency_sum{job=~\"$job\"}[$__rate_interval]) /\n on (ceph_daemon) rate(ceph_osd_op_r_latency_count{job=~\"$job\"}[$__rate_interval]) *\n 1000\n )\n ))\n)\n",
226 "format": "table",
227 "instant": true,
228 "intervalFactor": 1,
229 "legendFormat": "",
230 "refId": "A"
231 }
232 ],
233 "timeFrom": null,
234 "timeShift": null,
235 "title": "Highest READ Latencies",
236 "transform": "table",
237 "type": "table"
238 },
239 {
240 "aliasColors": {
241 "@95%ile write": "#e0752d"
242 },
243 "bars": false,
244 "dashLength": 10,
245 "dashes": false,
246 "datasource": "$datasource",
247 "description": "",
248 "fill": 1,
249 "fillGradient": 0,
250 "gridPos": {
251 "h": 8,
252 "w": 8,
253 "x": 12,
254 "y": 0
255 },
256 "id": 4,
257 "legend": {
258 "alignAsTable": false,
259 "avg": false,
260 "current": false,
261 "max": false,
262 "min": false,
263 "rightSide": false,
264 "show": true,
265 "sideWidth": null,
266 "total": false,
267 "values": false
268 },
269 "lines": true,
270 "linewidth": 1,
271 "links": [ ],
272 "nullPointMode": "null",
273 "percentage": false,
274 "pointradius": 5,
275 "points": false,
276 "renderer": "flot",
277 "repeat": null,
278 "seriesOverrides": [ ],
279 "spaceLength": 10,
280 "stack": false,
281 "steppedLine": false,
282 "targets": [
283 {
284 "expr": "avg(\n rate(ceph_osd_op_w_latency_sum{job=~\"$job\"}[$__rate_interval]) /\n on (ceph_daemon) rate(ceph_osd_op_w_latency_count{job=~\"$job\"}[$__rate_interval])\n * 1000\n)\n",
285 "format": "time_series",
286 "intervalFactor": 1,
287 "legendFormat": "AVG write",
288 "refId": "A"
289 },
290 {
291 "expr": "max(\n rate(ceph_osd_op_w_latency_sum{job=~\"$job\"}[$__rate_interval]) /\n on (ceph_daemon) rate(ceph_osd_op_w_latency_count{job=~\"$job\"}[$__rate_interval]) *\n 1000\n)\n",
292 "format": "time_series",
293 "intervalFactor": 1,
294 "legendFormat": "MAX write",
295 "refId": "B"
296 },
297 {
298 "expr": "quantile(0.95, (\n rate(ceph_osd_op_w_latency_sum{job=~\"$job\"}[$__rate_interval]) /\n on (ceph_daemon) rate(ceph_osd_op_w_latency_count{job=~\"$job\"}[$__rate_interval]) *\n 1000\n))\n",
299 "format": "time_series",
300 "intervalFactor": 1,
301 "legendFormat": "@95%ile write",
302 "refId": "C"
303 }
304 ],
305 "thresholds": [ ],
306 "timeFrom": null,
307 "timeShift": null,
308 "title": "OSD Write Latencies",
309 "tooltip": {
310 "shared": true,
311 "sort": 0,
312 "value_type": "individual"
313 },
314 "type": "graph",
315 "xaxis": {
316 "buckets": null,
317 "mode": "time",
318 "name": null,
319 "show": true,
320 "values": [ ]
321 },
322 "yaxes": [
323 {
324 "format": "ms",
325 "label": null,
326 "logBase": 1,
327 "max": null,
328 "min": "0",
329 "show": true
330 },
331 {
332 "format": "short",
333 "label": null,
334 "logBase": 1,
335 "max": null,
336 "min": "0",
337 "show": true
338 }
339 ]
340 },
341 {
342 "columns": [ ],
343 "datasource": "$datasource",
344 "description": "This table shows the osd's that are delivering the 10 highest write latencies within the cluster",
345 "gridPos": {
346 "h": 8,
347 "w": 4,
348 "x": 20,
349 "y": 0
350 },
351 "id": 5,
352 "links": [ ],
353 "sort": {
354 "col": 2,
355 "desc": true
356 },
357 "styles": [
358 {
359 "alias": "OSD ID",
360 "colorMode": null,
361 "colors": [
362 "rgba(245, 54, 54, 0.9)",
363 "rgba(237, 129, 40, 0.89)",
364 "rgba(50, 172, 45, 0.97)"
365 ],
366 "dateFormat": "YYYY-MM-DD HH:mm:ss",
367 "decimals": 2,
368 "mappingType": 1,
369 "pattern": "ceph_daemon",
370 "thresholds": [ ],
371 "type": "string",
372 "unit": "short",
373 "valueMaps": [ ]
374 },
375 {
376 "alias": "Latency (ms)",
377 "colorMode": null,
378 "colors": [
379 "rgba(245, 54, 54, 0.9)",
380 "rgba(237, 129, 40, 0.89)",
381 "rgba(50, 172, 45, 0.97)"
382 ],
383 "dateFormat": "YYYY-MM-DD HH:mm:ss",
384 "decimals": 2,
385 "mappingType": 1,
386 "pattern": "Value",
387 "thresholds": [ ],
388 "type": "number",
389 "unit": "none",
390 "valueMaps": [ ]
391 },
392 {
393 "alias": "",
394 "colorMode": null,
395 "colors": [
396 "rgba(245, 54, 54, 0.9)",
397 "rgba(237, 129, 40, 0.89)",
398 "rgba(50, 172, 45, 0.97)"
399 ],
400 "dateFormat": "YYYY-MM-DD HH:mm:ss",
401 "decimals": 2,
402 "mappingType": 1,
403 "pattern": "/.*/",
404 "thresholds": [ ],
405 "type": "hidden",
406 "unit": "short",
407 "valueMaps": [ ]
408 }
409 ],
410 "targets": [
411 {
412 "expr": "topk(10,\n (sort(\n (rate(ceph_osd_op_w_latency_sum{job=~\"$job\"}[$__rate_interval]) /\n on (ceph_daemon) rate(ceph_osd_op_w_latency_count{job=~\"$job\"}[$__rate_interval]) *\n 1000)\n ))\n)\n",
413 "format": "table",
414 "instant": true,
415 "intervalFactor": 1,
416 "legendFormat": "",
417 "refId": "A"
418 }
419 ],
420 "timeFrom": null,
421 "timeShift": null,
422 "title": "Highest WRITE Latencies",
423 "transform": "table",
424 "type": "table"
425 },
426 {
427 "aliasColors": { },
428 "datasource": "$datasource",
429 "description": "",
430 "gridPos": {
431 "h": 8,
432 "w": 4,
433 "x": 0,
434 "y": 8
435 },
436 "id": 6,
437 "legend": {
438 "percentage": true,
439 "show": true,
440 "values": true
441 },
442 "legendType": "Under graph",
443 "pieType": "pie",
444 "targets": [
445 {
446 "expr": "count by (device_class) (ceph_osd_metadata{job=~\"$job\"})",
447 "format": "time_series",
448 "intervalFactor": 1,
449 "legendFormat": "{{device_class}}",
450 "refId": "A"
451 }
452 ],
453 "title": "OSD Types Summary",
454 "type": "grafana-piechart-panel",
455 "valueName": "current"
456 },
457 {
458 "aliasColors": {
459 "Non-Encrypted": "#E5AC0E"
460 },
461 "datasource": "$datasource",
462 "description": "",
463 "gridPos": {
464 "h": 8,
465 "w": 4,
466 "x": 4,
467 "y": 8
468 },
469 "id": 7,
470 "legend": {
471 "percentage": true,
472 "show": true,
473 "values": true
474 },
475 "legendType": "Under graph",
476 "pieType": "pie",
477 "targets": [
478 {
479 "expr": "count(ceph_bluefs_wal_total_bytes{job=~\"$job\"})",
480 "format": "time_series",
481 "intervalFactor": 2,
482 "legendFormat": "bluestore",
483 "refId": "A"
484 },
485 {
486 "expr": "absent(ceph_bluefs_wal_total_bytes{job=~\"$job\"}) * count(ceph_osd_metadata{job=~\"$job\"})",
487 "format": "time_series",
488 "intervalFactor": 2,
489 "legendFormat": "filestore",
490 "refId": "B"
491 }
492 ],
493 "title": "OSD Objectstore Types",
494 "type": "grafana-piechart-panel",
495 "valueName": "current"
496 },
497 {
498 "aliasColors": { },
499 "datasource": "$datasource",
500 "description": "The pie chart shows the various OSD sizes used within the cluster",
501 "gridPos": {
502 "h": 8,
503 "w": 4,
504 "x": 8,
505 "y": 8
506 },
507 "id": 8,
508 "legend": {
509 "percentage": true,
510 "show": true,
511 "values": true
512 },
513 "legendType": "Under graph",
514 "pieType": "pie",
515 "targets": [
516 {
517 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} < 1099511627776)",
518 "format": "time_series",
519 "intervalFactor": 2,
520 "legendFormat": "<1TB",
521 "refId": "A"
522 },
523 {
524 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} >= 1099511627776 < 2199023255552)",
525 "format": "time_series",
526 "intervalFactor": 2,
527 "legendFormat": "<2TB",
528 "refId": "B"
529 },
530 {
531 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} >= 2199023255552 < 3298534883328)",
532 "format": "time_series",
533 "intervalFactor": 2,
534 "legendFormat": "<3TB",
535 "refId": "C"
536 },
537 {
538 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} >= 3298534883328 < 4398046511104)",
539 "format": "time_series",
540 "intervalFactor": 2,
541 "legendFormat": "<4TB",
542 "refId": "D"
543 },
544 {
545 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} >= 4398046511104 < 6597069766656)",
546 "format": "time_series",
547 "intervalFactor": 2,
548 "legendFormat": "<6TB",
549 "refId": "E"
550 },
551 {
552 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} >= 6597069766656 < 8796093022208)",
553 "format": "time_series",
554 "intervalFactor": 2,
555 "legendFormat": "<8TB",
556 "refId": "F"
557 },
558 {
559 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} >= 8796093022208 < 10995116277760)",
560 "format": "time_series",
561 "intervalFactor": 2,
562 "legendFormat": "<10TB",
563 "refId": "G"
564 },
565 {
566 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} >= 10995116277760 < 13194139533312)",
567 "format": "time_series",
568 "intervalFactor": 2,
569 "legendFormat": "<12TB",
570 "refId": "H"
571 },
572 {
573 "expr": "count(ceph_osd_stat_bytes{job=~\"$job\"} >= 13194139533312)",
574 "format": "time_series",
575 "intervalFactor": 2,
576 "legendFormat": "<12TB+",
577 "refId": "I"
578 }
579 ],
580 "title": "OSD Size Summary",
581 "type": "grafana-piechart-panel",
582 "valueName": "current"
583 },
584 {
585 "aliasColors": { },
586 "bars": true,
587 "dashLength": 10,
588 "dashes": false,
589 "datasource": "$datasource",
590 "fill": 1,
591 "fillGradient": 0,
592 "gridPos": {
593 "h": 8,
594 "w": 8,
595 "x": 12,
596 "y": 8
597 },
598 "id": 9,
599 "legend": {
600 "alignAsTable": false,
601 "avg": false,
602 "current": false,
603 "max": false,
604 "min": false,
605 "rightSide": false,
606 "show": true,
607 "sideWidth": null,
608 "total": false,
609 "values": false
610 },
611 "lines": true,
612 "linewidth": 1,
613 "links": [ ],
614 "nullPointMode": "null",
615 "percentage": false,
616 "pointradius": 5,
617 "points": false,
618 "renderer": "flot",
619 "repeat": null,
620 "seriesOverrides": [ ],
621 "spaceLength": 10,
622 "stack": false,
623 "steppedLine": false,
624 "targets": [
625 {
626 "expr": "ceph_osd_numpg{job=~\"$job\"}",
627 "format": "time_series",
628 "instant": true,
629 "intervalFactor": 1,
630 "legendFormat": "PGs per OSD",
631 "refId": "A"
632 }
633 ],
634 "thresholds": [ ],
635 "timeFrom": null,
636 "timeShift": null,
637 "title": "Distribution of PGs per OSD",
638 "tooltip": {
639 "shared": true,
640 "sort": 0,
641 "value_type": "individual"
642 },
643 "type": "graph",
644 "xaxis": {
645 "buckets": 20,
646 "mode": "histogram",
647 "name": null,
648 "show": true,
649 "values": [ ]
650 },
651 "yaxes": [
652 {
653 "format": "short",
654 "label": "# of OSDs",
655 "logBase": 1,
656 "max": null,
657 "min": "0",
658 "show": true
659 },
660 {
661 "format": "short",
662 "label": null,
663 "logBase": 1,
664 "max": null,
665 "min": "0",
666 "show": true
667 }
668 ]
669 },
670 {
671 "cacheTimeout": null,
672 "colorBackground": false,
673 "colorValue": true,
674 "colors": [
675 "#299c46",
676 "rgba(237, 129, 40, 0.89)",
677 "#d44a3a"
678 ],
679 "datasource": "$datasource",
680 "description": "This gauge panel shows onode Hits ratio to help determine if increasing RAM per OSD could help improve the performance of the cluster",
681 "format": "percentunit",
682 "gauge": {
683 "maxValue": 1,
684 "minValue": 0,
685 "show": true,
686 "thresholdLabels": false,
687 "thresholdMarkers": true
688 },
689 "gridPos": {
690 "h": 8,
691 "w": 4,
692 "x": 20,
693 "y": 8
694 },
695 "id": 10,
696 "interval": null,
697 "links": [ ],
698 "mappingType": 1,
699 "mappingTypes": [
700 {
701 "name": "value to text",
702 "value": 1
703 },
704 {
705 "name": "range to text",
706 "value": 2
707 }
708 ],
709 "maxDataPoints": 100,
710 "nullPointMode": "connected",
711 "nullText": null,
712 "postfix": "",
713 "postfixFontSize": "50%",
714 "prefix": "",
715 "prefixFontSize": "50%",
716 "rangeMaps": [
717 {
718 "from": "null",
719 "text": "N/A",
720 "to": "null"
721 }
722 ],
723 "sparkline": {
724 "fillColor": "rgba(31, 118, 189, 0.18)",
725 "full": false,
726 "lineColor": "rgb(31, 120, 193)",
727 "show": false
728 },
729 "tableColumn": "",
730 "targets": [
731 {
732 "expr": "sum(ceph_bluestore_onode_hits{job=~\"$job\"}) / (\n sum(ceph_bluestore_onode_hits{job=~\"$job\"}) +\n sum(ceph_bluestore_onode_misses{job=~\"$job\"})\n)\n",
733 "format": "time_series",
734 "intervalFactor": 1,
735 "legendFormat": "",
736 "refId": "A"
737 }
738 ],
739 "thresholds": ".75",
740 "title": "OSD onode Hits Ratio",
741 "type": "singlestat",
742 "valueFontSize": "80%",
743 "valueMaps": [
744 {
745 "op": "=",
746 "text": "N/A",
747 "value": "null"
748 }
749 ],
750 "valueName": "current"
751 },
752 {
753 "collapse": false,
754 "collapsed": false,
755 "gridPos": {
756 "h": 1,
757 "w": 24,
758 "x": 0,
759 "y": 16
760 },
761 "id": 11,
762 "panels": [ ],
763 "repeat": null,
764 "repeatIteration": null,
765 "repeatRowId": null,
766 "showTitle": true,
767 "title": "R/W Profile",
768 "titleSize": "h6",
769 "type": "row"
770 },
771 {
772 "aliasColors": { },
773 "bars": false,
774 "dashLength": 10,
775 "dashes": false,
776 "datasource": "$datasource",
777 "description": "Show the read/write workload profile overtime",
778 "fill": 1,
779 "fillGradient": 0,
780 "gridPos": {
781 "h": 8,
782 "w": 24,
783 "x": 0,
784 "y": 17
785 },
786 "id": 12,
787 "legend": {
788 "alignAsTable": false,
789 "avg": false,
790 "current": false,
791 "max": false,
792 "min": false,
793 "rightSide": false,
794 "show": true,
795 "sideWidth": null,
796 "total": false,
797 "values": false
798 },
799 "lines": true,
800 "linewidth": 1,
801 "links": [ ],
802 "nullPointMode": "null",
803 "percentage": false,
804 "pointradius": 5,
805 "points": false,
806 "renderer": "flot",
807 "repeat": null,
808 "seriesOverrides": [ ],
809 "spaceLength": 10,
810 "stack": false,
811 "steppedLine": false,
812 "targets": [
813 {
814 "expr": "round(sum(rate(ceph_pool_rd{job=~\"$job\"}[$__rate_interval])))",
815 "format": "time_series",
816 "intervalFactor": 1,
817 "legendFormat": "Reads",
818 "refId": "A"
819 },
820 {
821 "expr": "round(sum(rate(ceph_pool_wr{job=~\"$job\"}[$__rate_interval])))",
822 "format": "time_series",
823 "intervalFactor": 1,
824 "legendFormat": "Writes",
825 "refId": "B"
826 }
827 ],
828 "thresholds": [ ],
829 "timeFrom": null,
830 "timeShift": null,
831 "title": "Read/Write Profile",
832 "tooltip": {
833 "shared": true,
834 "sort": 0,
835 "value_type": "individual"
836 },
837 "type": "graph",
838 "xaxis": {
839 "buckets": null,
840 "mode": "time",
841 "name": null,
842 "show": true,
843 "values": [ ]
844 },
845 "yaxes": [
846 {
847 "format": "short",
848 "label": null,
849 "logBase": 1,
850 "max": null,
851 "min": null,
852 "show": true
853 },
854 {
855 "format": "short",
856 "label": null,
857 "logBase": 1,
858 "max": null,
859 "min": null,
860 "show": true
861 }
862 ]
863 },
864 {
865 "columns": [ ],
866 "datasource": "$datasource",
867 "description": "This table shows the 10 OSDs with the highest number of slow ops",
868 "gridPos": {
869 "h": 8,
870 "w": 4,
871 "x": 0,
872 "y": 20
873 },
874 "id": 13,
875 "links": [ ],
876 "sort": {
877 "col": 2,
878 "desc": true
879 },
880 "styles": [
881 {
882 "alias": "OSD ID",
883 "colorMode": null,
884 "colors": [
885 "rgba(245, 54, 54, 0.9)",
886 "rgba(237, 129, 40, 0.89)",
887 "rgba(50, 172, 45, 0.97)"
888 ],
889 "dateFormat": "YYYY-MM-DD HH:mm:ss",
890 "decimals": 2,
891 "mappingType": 1,
892 "pattern": "ceph_daemon",
893 "thresholds": [ ],
894 "type": "string",
895 "unit": "short",
896 "valueMaps": [ ]
897 },
898 {
899 "alias": "Slow Ops",
900 "colorMode": null,
901 "colors": [
902 "rgba(245, 54, 54, 0.9)",
903 "rgba(237, 129, 40, 0.89)",
904 "rgba(50, 172, 45, 0.97)"
905 ],
906 "dateFormat": "YYYY-MM-DD HH:mm:ss",
907 "decimals": 2,
908 "mappingType": 1,
909 "pattern": "Value",
910 "thresholds": [ ],
911 "type": "number",
912 "unit": "none",
913 "valueMaps": [ ]
914 },
915 {
916 "alias": "",
917 "colorMode": null,
918 "colors": [
919 "rgba(245, 54, 54, 0.9)",
920 "rgba(237, 129, 40, 0.89)",
921 "rgba(50, 172, 45, 0.97)"
922 ],
923 "dateFormat": "YYYY-MM-DD HH:mm:ss",
924 "decimals": 2,
925 "mappingType": 1,
926 "pattern": "/.*/",
927 "thresholds": [ ],
928 "type": "hidden",
929 "unit": "short",
930 "valueMaps": [ ]
931 }
932 ],
933 "targets": [
934 {
935 "expr": "topk(10,\n (ceph_daemon_health_metrics{type=\"SLOW_OPS\", ceph_daemon=~\"osd.*\"})\n)\n",
936 "format": "table",
937 "instant": true,
938 "intervalFactor": 1,
939 "legendFormat": "",
940 "refId": "A"
941 }
942 ],
943 "timeFrom": null,
944 "timeShift": null,
945 "title": "Top Slow Ops",
946 "transform": "table",
947 "type": "table"
948 }
949 ],
950 "refresh": "30s",
951 "rows": [ ],
952 "schemaVersion": 16,
953 "style": "dark",
954 "tags": [
955 "ceph-mixin"
956 ],
957 "templating": {
958 "list": [
959 {
960 "current": {
961 "text": "default",
962 "value": "default"
963 },
964 "hide": 0,
965 "label": "Data Source",
966 "name": "datasource",
967 "options": [ ],
968 "query": "prometheus",
969 "refresh": 1,
970 "regex": "",
971 "type": "datasource"
972 },
973 {
974 "allValue": ".+",
975 "current": { },
976 "datasource": "$datasource",
977 "hide": 2,
978 "includeAll": true,
979 "label": "cluster",
980 "multi": true,
981 "name": "cluster",
982 "options": [ ],
983 "query": "label_values(ceph_osd_metadata, cluster)",
984 "refresh": 1,
985 "regex": "(.*)",
986 "sort": 1,
987 "tagValuesQuery": "",
988 "tags": [ ],
989 "tagsQuery": "",
990 "type": "query",
991 "useTags": false
992 },
993 {
994 "allValue": ".+",
995 "current": { },
996 "datasource": "$datasource",
997 "hide": 0,
998 "includeAll": true,
999 "label": "job",
1000 "multi": true,
1001 "name": "job",
1002 "options": [ ],
1003 "query": "label_values(ceph_osd_metadata{}, job)",
1004 "refresh": 1,
1005 "regex": "(.*)",
1006 "sort": 1,
1007 "tagValuesQuery": "",
1008 "tags": [ ],
1009 "tagsQuery": "",
1010 "type": "query",
1011 "useTags": false
1012 }
1013 ]
1014 },
1015 "time": {
1016 "from": "now-1h",
1017 "to": "now"
1018 },
1019 "timepicker": {
1020 "refresh_intervals": [
1021 "5s",
1022 "10s",
1023 "30s",
1024 "1m",
1025 "5m",
1026 "15m",
1027 "30m",
1028 "1h",
1029 "2h",
1030 "1d"
1031 ],
1032 "time_options": [
1033 "5m",
1034 "15m",
1035 "1h",
1036 "6h",
1037 "12h",
1038 "24h",
1039 "2d",
1040 "7d",
1041 "30d"
1042 ]
1043 },
1044 "timezone": "",
1045 "title": "OSD Overview",
1046 "uid": "lo02I1Aiz",
1047 "version": 0
1048 }