]> git.proxmox.com Git - ceph.git/blob - ceph/monitoring/grafana/dashboards/osd-device-details.json
buildsys: switch source download to quincy
[ceph.git] / ceph / monitoring / grafana / dashboards / osd-device-details.json
1 {
2 "__inputs": [ ],
3 "__requires": [
4 {
5 "id": "grafana",
6 "name": "Grafana",
7 "type": "grafana",
8 "version": "5.3.2"
9 },
10 {
11 "id": "graph",
12 "name": "Graph",
13 "type": "panel",
14 "version": "5.0.0"
15 }
16 ],
17 "annotations": {
18 "list": [
19 {
20 "builtIn": 1,
21 "datasource": "-- Grafana --",
22 "enable": true,
23 "hide": true,
24 "iconColor": "rgba(0, 211, 255, 1)",
25 "name": "Annotations & Alerts",
26 "showIn": 0,
27 "tags": [ ],
28 "type": "dashboard"
29 }
30 ]
31 },
32 "description": "",
33 "editable": false,
34 "gnetId": null,
35 "graphTooltip": 0,
36 "hideControls": false,
37 "id": null,
38 "links": [ ],
39 "panels": [
40 {
41 "collapse": false,
42 "collapsed": false,
43 "gridPos": {
44 "h": 1,
45 "w": 24,
46 "x": 0,
47 "y": 0
48 },
49 "id": 2,
50 "panels": [ ],
51 "repeat": null,
52 "repeatIteration": null,
53 "repeatRowId": null,
54 "showTitle": true,
55 "title": "OSD Performance",
56 "titleSize": "h6",
57 "type": "row"
58 },
59 {
60 "aliasColors": { },
61 "bars": false,
62 "dashLength": 10,
63 "dashes": false,
64 "datasource": "$datasource",
65 "description": "",
66 "fill": 1,
67 "gridPos": {
68 "h": 9,
69 "w": 6,
70 "x": 0,
71 "y": 1
72 },
73 "id": 3,
74 "legend": {
75 "alignAsTable": false,
76 "avg": false,
77 "current": false,
78 "max": false,
79 "min": false,
80 "rightSide": false,
81 "show": true,
82 "sideWidth": null,
83 "total": false,
84 "values": false
85 },
86 "lines": true,
87 "linewidth": 1,
88 "links": [ ],
89 "nullPointMode": "null",
90 "percentage": false,
91 "pointradius": 5,
92 "points": false,
93 "renderer": "flot",
94 "repeat": null,
95 "seriesOverrides": [
96 {
97 "alias": "read",
98 "transform": "negative-Y"
99 }
100 ],
101 "spaceLength": 10,
102 "stack": false,
103 "steppedLine": false,
104 "targets": [
105 {
106 "expr": "irate(ceph_osd_op_r_latency_sum{ceph_daemon=~\"$osd\"}[1m]) / on (ceph_daemon) irate(ceph_osd_op_r_latency_count[1m])",
107 "format": "time_series",
108 "intervalFactor": 1,
109 "legendFormat": "read",
110 "refId": "A"
111 },
112 {
113 "expr": "irate(ceph_osd_op_w_latency_sum{ceph_daemon=~\"$osd\"}[1m]) / on (ceph_daemon) irate(ceph_osd_op_w_latency_count[1m])",
114 "format": "time_series",
115 "intervalFactor": 1,
116 "legendFormat": "write",
117 "refId": "B"
118 }
119 ],
120 "thresholds": [ ],
121 "timeFrom": null,
122 "timeShift": null,
123 "title": "$osd Latency",
124 "tooltip": {
125 "shared": true,
126 "sort": 0,
127 "value_type": "individual"
128 },
129 "type": "graph",
130 "xaxis": {
131 "buckets": null,
132 "mode": "time",
133 "name": null,
134 "show": true,
135 "values": [ ]
136 },
137 "yaxes": [
138 {
139 "format": "s",
140 "label": "Read (-) / Write (+)",
141 "logBase": 1,
142 "max": null,
143 "min": null,
144 "show": true
145 },
146 {
147 "format": "short",
148 "label": null,
149 "logBase": 1,
150 "max": null,
151 "min": null,
152 "show": true
153 }
154 ]
155 },
156 {
157 "aliasColors": { },
158 "bars": false,
159 "dashLength": 10,
160 "dashes": false,
161 "datasource": "$datasource",
162 "description": "",
163 "fill": 1,
164 "gridPos": {
165 "h": 9,
166 "w": 6,
167 "x": 6,
168 "y": 1
169 },
170 "id": 4,
171 "legend": {
172 "alignAsTable": false,
173 "avg": false,
174 "current": false,
175 "max": false,
176 "min": false,
177 "rightSide": false,
178 "show": true,
179 "sideWidth": null,
180 "total": false,
181 "values": false
182 },
183 "lines": true,
184 "linewidth": 1,
185 "links": [ ],
186 "nullPointMode": "null",
187 "percentage": false,
188 "pointradius": 5,
189 "points": false,
190 "renderer": "flot",
191 "repeat": null,
192 "seriesOverrides": [
193 {
194 "alias": "Reads",
195 "transform": "negative-Y"
196 }
197 ],
198 "spaceLength": 10,
199 "stack": false,
200 "steppedLine": false,
201 "targets": [
202 {
203 "expr": "irate(ceph_osd_op_r{ceph_daemon=~\"$osd\"}[1m])",
204 "format": "time_series",
205 "intervalFactor": 1,
206 "legendFormat": "Reads",
207 "refId": "A"
208 },
209 {
210 "expr": "irate(ceph_osd_op_w{ceph_daemon=~\"$osd\"}[1m])",
211 "format": "time_series",
212 "intervalFactor": 1,
213 "legendFormat": "Writes",
214 "refId": "B"
215 }
216 ],
217 "thresholds": [ ],
218 "timeFrom": null,
219 "timeShift": null,
220 "title": "$osd R/W IOPS",
221 "tooltip": {
222 "shared": true,
223 "sort": 0,
224 "value_type": "individual"
225 },
226 "type": "graph",
227 "xaxis": {
228 "buckets": null,
229 "mode": "time",
230 "name": null,
231 "show": true,
232 "values": [ ]
233 },
234 "yaxes": [
235 {
236 "format": "short",
237 "label": "Read (-) / Write (+)",
238 "logBase": 1,
239 "max": null,
240 "min": null,
241 "show": true
242 },
243 {
244 "format": "short",
245 "label": null,
246 "logBase": 1,
247 "max": null,
248 "min": null,
249 "show": true
250 }
251 ]
252 },
253 {
254 "aliasColors": { },
255 "bars": false,
256 "dashLength": 10,
257 "dashes": false,
258 "datasource": "$datasource",
259 "description": "",
260 "fill": 1,
261 "gridPos": {
262 "h": 9,
263 "w": 6,
264 "x": 12,
265 "y": 1
266 },
267 "id": 5,
268 "legend": {
269 "alignAsTable": false,
270 "avg": false,
271 "current": false,
272 "max": false,
273 "min": false,
274 "rightSide": false,
275 "show": true,
276 "sideWidth": null,
277 "total": false,
278 "values": false
279 },
280 "lines": true,
281 "linewidth": 1,
282 "links": [ ],
283 "nullPointMode": "null",
284 "percentage": false,
285 "pointradius": 5,
286 "points": false,
287 "renderer": "flot",
288 "repeat": null,
289 "seriesOverrides": [
290 {
291 "alias": "Read Bytes",
292 "transform": "negative-Y"
293 }
294 ],
295 "spaceLength": 10,
296 "stack": false,
297 "steppedLine": false,
298 "targets": [
299 {
300 "expr": "irate(ceph_osd_op_r_out_bytes{ceph_daemon=~\"$osd\"}[1m])",
301 "format": "time_series",
302 "intervalFactor": 1,
303 "legendFormat": "Read Bytes",
304 "refId": "A"
305 },
306 {
307 "expr": "irate(ceph_osd_op_w_in_bytes{ceph_daemon=~\"$osd\"}[1m])",
308 "format": "time_series",
309 "intervalFactor": 1,
310 "legendFormat": "Write Bytes",
311 "refId": "B"
312 }
313 ],
314 "thresholds": [ ],
315 "timeFrom": null,
316 "timeShift": null,
317 "title": "$osd R/W Bytes",
318 "tooltip": {
319 "shared": true,
320 "sort": 0,
321 "value_type": "individual"
322 },
323 "type": "graph",
324 "xaxis": {
325 "buckets": null,
326 "mode": "time",
327 "name": null,
328 "show": true,
329 "values": [ ]
330 },
331 "yaxes": [
332 {
333 "format": "bytes",
334 "label": "Read (-) / Write (+)",
335 "logBase": 1,
336 "max": null,
337 "min": null,
338 "show": true
339 },
340 {
341 "format": "short",
342 "label": null,
343 "logBase": 1,
344 "max": null,
345 "min": null,
346 "show": true
347 }
348 ]
349 },
350 {
351 "collapse": false,
352 "collapsed": false,
353 "gridPos": {
354 "h": 1,
355 "w": 24,
356 "x": 0,
357 "y": 10
358 },
359 "id": 6,
360 "panels": [ ],
361 "repeat": null,
362 "repeatIteration": null,
363 "repeatRowId": null,
364 "showTitle": true,
365 "title": "Physical Device Performance",
366 "titleSize": "h6",
367 "type": "row"
368 },
369 {
370 "aliasColors": { },
371 "bars": false,
372 "dashLength": 10,
373 "dashes": false,
374 "datasource": "$datasource",
375 "description": "",
376 "fill": 1,
377 "gridPos": {
378 "h": 9,
379 "w": 6,
380 "x": 0,
381 "y": 11
382 },
383 "id": 7,
384 "legend": {
385 "alignAsTable": false,
386 "avg": false,
387 "current": false,
388 "max": false,
389 "min": false,
390 "rightSide": false,
391 "show": true,
392 "sideWidth": null,
393 "total": false,
394 "values": false
395 },
396 "lines": true,
397 "linewidth": 1,
398 "links": [ ],
399 "nullPointMode": "null",
400 "percentage": false,
401 "pointradius": 5,
402 "points": false,
403 "renderer": "flot",
404 "repeat": null,
405 "seriesOverrides": [
406 {
407 "alias": "/.*Reads/",
408 "transform": "negative-Y"
409 }
410 ],
411 "spaceLength": 10,
412 "stack": false,
413 "steppedLine": false,
414 "targets": [
415 {
416 "expr": "(label_replace(irate(node_disk_read_time_seconds_total[1m]) / irate(node_disk_reads_completed_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"))",
417 "format": "time_series",
418 "intervalFactor": 1,
419 "legendFormat": "{{instance}}/{{device}} Reads",
420 "refId": "A"
421 },
422 {
423 "expr": "(label_replace(irate(node_disk_write_time_seconds_total[1m]) / irate(node_disk_writes_completed_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"))",
424 "format": "time_series",
425 "intervalFactor": 1,
426 "legendFormat": "{{instance}}/{{device}} Writes",
427 "refId": "B"
428 }
429 ],
430 "thresholds": [ ],
431 "timeFrom": null,
432 "timeShift": null,
433 "title": "Physical Device Latency for $osd",
434 "tooltip": {
435 "shared": true,
436 "sort": 0,
437 "value_type": "individual"
438 },
439 "type": "graph",
440 "xaxis": {
441 "buckets": null,
442 "mode": "time",
443 "name": null,
444 "show": true,
445 "values": [ ]
446 },
447 "yaxes": [
448 {
449 "format": "s",
450 "label": "Read (-) / Write (+)",
451 "logBase": 1,
452 "max": null,
453 "min": null,
454 "show": true
455 },
456 {
457 "format": "short",
458 "label": null,
459 "logBase": 1,
460 "max": null,
461 "min": null,
462 "show": true
463 }
464 ]
465 },
466 {
467 "aliasColors": { },
468 "bars": false,
469 "dashLength": 10,
470 "dashes": false,
471 "datasource": "$datasource",
472 "description": "",
473 "fill": 1,
474 "gridPos": {
475 "h": 9,
476 "w": 6,
477 "x": 6,
478 "y": 11
479 },
480 "id": 8,
481 "legend": {
482 "alignAsTable": false,
483 "avg": false,
484 "current": false,
485 "max": false,
486 "min": false,
487 "rightSide": false,
488 "show": true,
489 "sideWidth": null,
490 "total": false,
491 "values": false
492 },
493 "lines": true,
494 "linewidth": 1,
495 "links": [ ],
496 "nullPointMode": "null",
497 "percentage": false,
498 "pointradius": 5,
499 "points": false,
500 "renderer": "flot",
501 "repeat": null,
502 "seriesOverrides": [
503 {
504 "alias": "/.*Reads/",
505 "transform": "negative-Y"
506 }
507 ],
508 "spaceLength": 10,
509 "stack": false,
510 "steppedLine": false,
511 "targets": [
512 {
513 "expr": "label_replace(irate(node_disk_writes_completed_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
514 "format": "time_series",
515 "intervalFactor": 1,
516 "legendFormat": "{{device}} on {{instance}} Writes",
517 "refId": "A"
518 },
519 {
520 "expr": "label_replace(irate(node_disk_reads_completed_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
521 "format": "time_series",
522 "intervalFactor": 1,
523 "legendFormat": "{{device}} on {{instance}} Reads",
524 "refId": "B"
525 }
526 ],
527 "thresholds": [ ],
528 "timeFrom": null,
529 "timeShift": null,
530 "title": "Physical Device R/W IOPS for $osd",
531 "tooltip": {
532 "shared": true,
533 "sort": 0,
534 "value_type": "individual"
535 },
536 "type": "graph",
537 "xaxis": {
538 "buckets": null,
539 "mode": "time",
540 "name": null,
541 "show": true,
542 "values": [ ]
543 },
544 "yaxes": [
545 {
546 "format": "short",
547 "label": "Read (-) / Write (+)",
548 "logBase": 1,
549 "max": null,
550 "min": null,
551 "show": true
552 },
553 {
554 "format": "short",
555 "label": null,
556 "logBase": 1,
557 "max": null,
558 "min": null,
559 "show": true
560 }
561 ]
562 },
563 {
564 "aliasColors": { },
565 "bars": false,
566 "dashLength": 10,
567 "dashes": false,
568 "datasource": "$datasource",
569 "description": "",
570 "fill": 1,
571 "gridPos": {
572 "h": 9,
573 "w": 6,
574 "x": 12,
575 "y": 11
576 },
577 "id": 9,
578 "legend": {
579 "alignAsTable": false,
580 "avg": false,
581 "current": false,
582 "max": false,
583 "min": false,
584 "rightSide": false,
585 "show": true,
586 "sideWidth": null,
587 "total": false,
588 "values": false
589 },
590 "lines": true,
591 "linewidth": 1,
592 "links": [ ],
593 "nullPointMode": "null",
594 "percentage": false,
595 "pointradius": 5,
596 "points": false,
597 "renderer": "flot",
598 "repeat": null,
599 "seriesOverrides": [
600 {
601 "alias": "/.*Reads/",
602 "transform": "negative-Y"
603 }
604 ],
605 "spaceLength": 10,
606 "stack": false,
607 "steppedLine": false,
608 "targets": [
609 {
610 "expr": "label_replace(irate(node_disk_read_bytes_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
611 "format": "time_series",
612 "intervalFactor": 1,
613 "legendFormat": "{{instance}} {{device}} Reads",
614 "refId": "A"
615 },
616 {
617 "expr": "label_replace(irate(node_disk_written_bytes_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
618 "format": "time_series",
619 "intervalFactor": 1,
620 "legendFormat": "{{instance}} {{device}} Writes",
621 "refId": "B"
622 }
623 ],
624 "thresholds": [ ],
625 "timeFrom": null,
626 "timeShift": null,
627 "title": "Physical Device R/W Bytes for $osd",
628 "tooltip": {
629 "shared": true,
630 "sort": 0,
631 "value_type": "individual"
632 },
633 "type": "graph",
634 "xaxis": {
635 "buckets": null,
636 "mode": "time",
637 "name": null,
638 "show": true,
639 "values": [ ]
640 },
641 "yaxes": [
642 {
643 "format": "Bps",
644 "label": "Read (-) / Write (+)",
645 "logBase": 1,
646 "max": null,
647 "min": null,
648 "show": true
649 },
650 {
651 "format": "short",
652 "label": null,
653 "logBase": 1,
654 "max": null,
655 "min": null,
656 "show": true
657 }
658 ]
659 },
660 {
661 "aliasColors": { },
662 "bars": false,
663 "dashLength": 10,
664 "dashes": false,
665 "datasource": "$datasource",
666 "description": "",
667 "fill": 1,
668 "gridPos": {
669 "h": 9,
670 "w": 6,
671 "x": 18,
672 "y": 11
673 },
674 "id": 10,
675 "legend": {
676 "alignAsTable": false,
677 "avg": false,
678 "current": false,
679 "max": false,
680 "min": false,
681 "rightSide": false,
682 "show": true,
683 "sideWidth": null,
684 "total": false,
685 "values": false
686 },
687 "lines": true,
688 "linewidth": 1,
689 "links": [ ],
690 "nullPointMode": "null",
691 "percentage": false,
692 "pointradius": 5,
693 "points": false,
694 "renderer": "flot",
695 "repeat": null,
696 "seriesOverrides": [ ],
697 "spaceLength": 10,
698 "stack": false,
699 "steppedLine": false,
700 "targets": [
701 {
702 "expr": "label_replace(irate(node_disk_io_time_seconds_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
703 "format": "time_series",
704 "intervalFactor": 1,
705 "legendFormat": "{{device}} on {{instance}}",
706 "refId": "A"
707 }
708 ],
709 "thresholds": [ ],
710 "timeFrom": null,
711 "timeShift": null,
712 "title": "Physical Device Util% for $osd",
713 "tooltip": {
714 "shared": true,
715 "sort": 0,
716 "value_type": "individual"
717 },
718 "type": "graph",
719 "xaxis": {
720 "buckets": null,
721 "mode": "time",
722 "name": null,
723 "show": true,
724 "values": [ ]
725 },
726 "yaxes": [
727 {
728 "format": "percentunit",
729 "label": null,
730 "logBase": 1,
731 "max": null,
732 "min": null,
733 "show": true
734 },
735 {
736 "format": "short",
737 "label": null,
738 "logBase": 1,
739 "max": null,
740 "min": null,
741 "show": true
742 }
743 ]
744 }
745 ],
746 "refresh": "",
747 "rows": [ ],
748 "schemaVersion": 16,
749 "style": "dark",
750 "tags": [ ],
751 "templating": {
752 "list": [
753 {
754 "current": {
755 "text": "default",
756 "value": "default"
757 },
758 "hide": 0,
759 "label": "Data Source",
760 "name": "datasource",
761 "options": [ ],
762 "query": "prometheus",
763 "refresh": 1,
764 "regex": "",
765 "type": "datasource"
766 },
767 {
768 "allValue": null,
769 "current": { },
770 "datasource": "$datasource",
771 "hide": 0,
772 "includeAll": false,
773 "label": "OSD",
774 "multi": false,
775 "name": "osd",
776 "options": [ ],
777 "query": "label_values(ceph_osd_metadata,ceph_daemon)",
778 "refresh": 1,
779 "regex": "(.*)",
780 "sort": 1,
781 "tagValuesQuery": "",
782 "tags": [ ],
783 "tagsQuery": "",
784 "type": "query",
785 "useTags": false
786 }
787 ]
788 },
789 "time": {
790 "from": "now-3h",
791 "to": "now"
792 },
793 "timepicker": {
794 "refresh_intervals": [
795 "5s",
796 "10s",
797 "30s",
798 "1m",
799 "5m",
800 "15m",
801 "30m",
802 "1h",
803 "2h",
804 "1d"
805 ],
806 "time_options": [
807 "5m",
808 "15m",
809 "1h",
810 "6h",
811 "12h",
812 "24h",
813 "2d",
814 "7d",
815 "30d"
816 ]
817 },
818 "timezone": "",
819 "title": "OSD device details",
820 "uid": "CrAHE0iZz",
821 "version": 0
822 }