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