]> git.proxmox.com Git - ceph.git/blame - ceph/monitoring/grafana/dashboards/host-details.json
buildsys: switch source download to quincy
[ceph.git] / ceph / monitoring / grafana / dashboards / host-details.json
CommitLineData
11fdf7f2 1{
a4b75251
TL
2 "__inputs": [ ],
3 "__requires": [
11fdf7f2 4 {
a4b75251
TL
5 "id": "grafana",
6 "name": "Grafana",
7 "type": "grafana",
8 "version": "5.3.2"
11fdf7f2 9 },
a4b75251
TL
10 {
11 "id": "graph",
12 "name": "Graph",
13 "type": "panel",
14 "version": "5.0.0"
81eedcae 15 },
a4b75251
TL
16 {
17 "id": "singlestat",
18 "name": "Singlestat",
19 "type": "panel",
20 "version": "5.0.0"
81eedcae 21 }
a4b75251
TL
22 ],
23 "annotations": {
24 "list": [
25 {
26 "builtIn": 1,
27 "datasource": "-- Grafana --",
28 "enable": true,
29 "hide": true,
30 "iconColor": "rgba(0, 211, 255, 1)",
31 "name": "Annotations & Alerts",
32 "showIn": 0,
33 "tags": [ ],
34 "type": "dashboard"
35 }
36 ]
37 },
38 "description": "",
39 "editable": false,
40 "gnetId": null,
41 "graphTooltip": 0,
42 "hideControls": false,
43 "id": null,
44 "links": [ ],
45 "panels": [
46 {
47 "collapse": false,
48 "collapsed": false,
49 "gridPos": {
50 "h": 1,
51 "w": 24,
52 "x": 0,
53 "y": 0
54 },
55 "id": 2,
56 "panels": [ ],
57 "repeat": null,
58 "repeatIteration": null,
59 "repeatRowId": null,
60 "showTitle": true,
61 "title": "$ceph_hosts System Overview",
62 "titleSize": "h6",
63 "type": "row"
81eedcae 64 },
a4b75251
TL
65 {
66 "cacheTimeout": null,
67 "colorBackground": false,
68 "colorValue": false,
69 "colors": [
70 "#299c46",
71 "rgba(237, 129, 40, 0.89)",
72 "#d44a3a"
73 ],
74 "datasource": "$datasource",
75 "format": "none",
76 "gauge": {
77 "maxValue": 100,
78 "minValue": 0,
79 "show": false,
80 "thresholdLabels": false,
81 "thresholdMarkers": true
82 },
83 "gridPos": {
84 "h": 5,
85 "w": 3,
86 "x": 0,
87 "y": 1
88 },
89 "id": 3,
90 "interval": null,
91 "links": [ ],
92 "mappingType": 1,
93 "mappingTypes": [
94 {
95 "name": "value to text",
96 "value": 1
97 },
98 {
99 "name": "range to text",
100 "value": 2
101 }
102 ],
103 "maxDataPoints": 100,
104 "nullPointMode": "connected",
105 "nullText": null,
106 "postfix": "",
107 "postfixFontSize": "50%",
108 "prefix": "",
109 "prefixFontSize": "50%",
110 "rangeMaps": [
111 {
112 "from": "null",
113 "text": "N/A",
114 "to": "null"
115 }
116 ],
117 "sparkline": {
118 "fillColor": "rgba(31, 118, 189, 0.18)",
119 "full": false,
120 "lineColor": "rgb(31, 120, 193)",
121 "show": false
122 },
123 "tableColumn": "",
124 "targets": [
125 {
126 "expr": "count(sum by (ceph_daemon) (ceph_osd_metadata{hostname='$ceph_hosts'}))",
127 "format": "time_series",
128 "intervalFactor": 1,
129 "legendFormat": "",
130 "refId": "A"
131 }
132 ],
133 "thresholds": "",
134 "title": "OSDs",
135 "type": "singlestat",
136 "valueFontSize": "80%",
137 "valueMaps": [
138 {
139 "op": "=",
140 "text": "N/A",
141 "value": "null"
142 }
143 ],
144 "valueName": "current"
81eedcae 145 },
a4b75251
TL
146 {
147 "aliasColors": {
148 "interrupt": "#447EBC",
149 "steal": "#6D1F62",
150 "system": "#890F02",
151 "user": "#3F6833",
152 "wait": "#C15C17"
153 },
154 "bars": false,
155 "dashLength": 10,
156 "dashes": false,
157 "datasource": "$datasource",
158 "description": "Shows the CPU breakdown. When multiple servers are selected, only the first host's cpu data is shown",
159 "fill": 1,
160 "gridPos": {
161 "h": 10,
162 "w": 6,
163 "x": 3,
164 "y": 1
165 },
166 "id": 4,
167 "legend": {
168 "alignAsTable": false,
169 "avg": false,
170 "current": false,
171 "max": false,
172 "min": false,
173 "rightSide": false,
174 "show": true,
175 "sideWidth": null,
176 "total": false,
177 "values": false
178 },
179 "lines": true,
180 "linewidth": 1,
181 "links": [ ],
182 "nullPointMode": "null",
183 "percentage": false,
184 "pointradius": 5,
185 "points": false,
186 "renderer": "flot",
187 "repeat": null,
188 "seriesOverrides": [ ],
189 "spaceLength": 10,
190 "stack": false,
191 "steppedLine": false,
192 "targets": [
193 {
194 "expr": "sum by (mode) (\n irate(node_cpu{instance=~\"($ceph_hosts)([\\\\.:].*)?\", mode=~\"(irq|nice|softirq|steal|system|user|iowait)\"}[1m]) or\n irate(node_cpu_seconds_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\", mode=~\"(irq|nice|softirq|steal|system|user|iowait)\"}[1m])\n) / scalar(\n sum(irate(node_cpu{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[1m]) or\n irate(node_cpu_seconds_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[1m]))\n) * 100",
195 "format": "time_series",
196 "intervalFactor": 1,
197 "legendFormat": "{{mode}}",
198 "refId": "A"
199 }
200 ],
201 "thresholds": [ ],
202 "timeFrom": null,
203 "timeShift": null,
204 "title": "CPU Utilization",
205 "tooltip": {
206 "shared": true,
207 "sort": 0,
208 "value_type": "individual"
209 },
210 "type": "graph",
211 "xaxis": {
212 "buckets": null,
213 "mode": "time",
214 "name": null,
215 "show": true,
216 "values": [ ]
217 },
218 "yaxes": [
219 {
220 "format": "percent",
221 "label": "% Utilization",
222 "logBase": 1,
223 "max": null,
224 "min": null,
225 "show": true
226 },
227 {
228 "format": "short",
229 "label": null,
230 "logBase": 1,
231 "max": null,
232 "min": null,
233 "show": true
234 }
235 ]
81eedcae 236 },
a4b75251
TL
237 {
238 "aliasColors": {
239 "Available": "#508642",
240 "Free": "#508642",
241 "Total": "#bf1b00",
242 "Used": "#bf1b00",
243 "total": "#bf1b00",
244 "used": "#0a50a1"
245 },
246 "bars": false,
247 "dashLength": 10,
248 "dashes": false,
249 "datasource": "$datasource",
250 "description": "",
251 "fill": 1,
252 "gridPos": {
253 "h": 10,
254 "w": 6,
255 "x": 9,
256 "y": 1
257 },
258 "id": 5,
259 "legend": {
260 "alignAsTable": false,
261 "avg": false,
262 "current": false,
263 "max": false,
264 "min": false,
265 "rightSide": false,
266 "show": true,
267 "sideWidth": null,
268 "total": false,
269 "values": false
270 },
271 "lines": true,
272 "linewidth": 1,
273 "links": [ ],
274 "nullPointMode": "null",
275 "percentage": false,
276 "pointradius": 5,
277 "points": false,
278 "renderer": "flot",
279 "repeat": null,
280 "seriesOverrides": [
281 {
282 "alias": "total",
283 "color": "#bf1b00",
284 "fill": 0,
285 "linewidth": 2,
286 "stack": false
287 }
288 ],
289 "spaceLength": 10,
290 "stack": false,
291 "steppedLine": false,
292 "targets": [
293 {
294 "expr": "node_memory_MemFree{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_MemFree_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"} ",
295 "format": "time_series",
296 "intervalFactor": 1,
297 "legendFormat": "Free",
298 "refId": "A"
299 },
300 {
301 "expr": "node_memory_MemTotal{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_MemTotal_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"} ",
302 "format": "time_series",
303 "intervalFactor": 1,
304 "legendFormat": "total",
305 "refId": "B"
306 },
307 {
308 "expr": "(node_memory_Cached{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_Cached_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"}) + \n(node_memory_Buffers{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_Buffers_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"}) +\n(node_memory_Slab{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_Slab_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"}) \n",
309 "format": "time_series",
310 "intervalFactor": 1,
311 "legendFormat": "buffers/cache",
312 "refId": "C"
313 },
314 {
315 "expr": "(node_memory_MemTotal{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_MemTotal_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"})- (\n (node_memory_MemFree{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_MemFree_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"}) + \n (node_memory_Cached{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_Cached_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"}) + \n (node_memory_Buffers{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_Buffers_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"}) +\n (node_memory_Slab{instance=~\"$ceph_hosts([\\\\.:].*)?\"} or node_memory_Slab_bytes{instance=~\"$ceph_hosts([\\\\.:].*)?\"})\n )\n \n",
316 "format": "time_series",
317 "intervalFactor": 1,
318 "legendFormat": "used",
319 "refId": "D"
320 }
321 ],
322 "thresholds": [ ],
323 "timeFrom": null,
324 "timeShift": null,
325 "title": "RAM Usage",
326 "tooltip": {
327 "shared": true,
328 "sort": 0,
329 "value_type": "individual"
330 },
331 "type": "graph",
332 "xaxis": {
333 "buckets": null,
334 "mode": "time",
335 "name": null,
336 "show": true,
337 "values": [ ]
338 },
339 "yaxes": [
340 {
341 "format": "bytes",
342 "label": "RAM used",
343 "logBase": 1,
344 "max": null,
345 "min": null,
346 "show": true
347 },
348 {
349 "format": "short",
350 "label": null,
351 "logBase": 1,
352 "max": null,
353 "min": null,
354 "show": true
355 }
356 ]
81eedcae 357 },
a4b75251
TL
358 {
359 "aliasColors": { },
360 "bars": false,
361 "dashLength": 10,
362 "dashes": false,
363 "datasource": "$datasource",
364 "description": "Show the network load (rx,tx) across all interfaces (excluding loopback 'lo')",
365 "fill": 1,
366 "gridPos": {
367 "h": 10,
368 "w": 6,
369 "x": 15,
370 "y": 1
371 },
372 "id": 6,
373 "legend": {
374 "alignAsTable": false,
375 "avg": false,
376 "current": false,
377 "max": false,
378 "min": false,
379 "rightSide": false,
380 "show": true,
381 "sideWidth": null,
382 "total": false,
383 "values": false
384 },
385 "lines": true,
386 "linewidth": 1,
387 "links": [ ],
388 "nullPointMode": "null",
389 "percentage": false,
390 "pointradius": 5,
391 "points": false,
392 "renderer": "flot",
393 "repeat": null,
394 "seriesOverrides": [
395 {
396 "alias": "/.*tx/",
397 "transform": "negative-Y"
398 }
399 ],
400 "spaceLength": 10,
401 "stack": false,
402 "steppedLine": false,
403 "targets": [
404 {
405 "expr": "sum by (device) (\n irate(node_network_receive_bytes{instance=~\"($ceph_hosts)([\\\\.:].*)?\",device!=\"lo\"}[1m]) or \n irate(node_network_receive_bytes_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\",device!=\"lo\"}[1m])\n)",
406 "format": "time_series",
407 "intervalFactor": 1,
408 "legendFormat": "{{device}}.rx",
409 "refId": "A"
410 },
411 {
412 "expr": "sum by (device) (\n irate(node_network_transmit_bytes{instance=~\"($ceph_hosts)([\\\\.:].*)?\",device!=\"lo\"}[1m]) or\n irate(node_network_transmit_bytes_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\",device!=\"lo\"}[1m])\n)",
413 "format": "time_series",
414 "intervalFactor": 1,
415 "legendFormat": "{{device}}.tx",
416 "refId": "B"
417 }
418 ],
419 "thresholds": [ ],
420 "timeFrom": null,
421 "timeShift": null,
422 "title": "Network Load",
423 "tooltip": {
424 "shared": true,
425 "sort": 0,
426 "value_type": "individual"
427 },
428 "type": "graph",
429 "xaxis": {
430 "buckets": null,
431 "mode": "time",
432 "name": null,
433 "show": true,
434 "values": [ ]
435 },
436 "yaxes": [
437 {
438 "format": "decbytes",
439 "label": "Send (-) / Receive (+)",
440 "logBase": 1,
441 "max": null,
442 "min": null,
443 "show": true
444 },
445 {
446 "format": "short",
447 "label": null,
448 "logBase": 1,
449 "max": null,
450 "min": null,
451 "show": true
452 }
453 ]
81eedcae 454 },
a4b75251
TL
455 {
456 "aliasColors": { },
457 "bars": false,
458 "dashLength": 10,
459 "dashes": false,
460 "datasource": "$datasource",
461 "description": "",
462 "fill": 1,
463 "gridPos": {
464 "h": 5,
465 "w": 3,
466 "x": 21,
467 "y": 1
468 },
469 "id": 7,
470 "legend": {
471 "alignAsTable": false,
472 "avg": false,
473 "current": false,
474 "max": false,
475 "min": false,
476 "rightSide": false,
477 "show": true,
478 "sideWidth": null,
479 "total": false,
480 "values": false
481 },
482 "lines": true,
483 "linewidth": 1,
484 "links": [ ],
485 "nullPointMode": "null",
486 "percentage": false,
487 "pointradius": 5,
488 "points": false,
489 "renderer": "flot",
490 "repeat": null,
491 "seriesOverrides": [
492 {
493 "alias": "/.*tx/",
494 "transform": "negative-Y"
495 }
496 ],
497 "spaceLength": 10,
498 "stack": false,
499 "steppedLine": false,
500 "targets": [
501 {
502 "expr": "irate(node_network_receive_drop{instance=~\"$ceph_hosts([\\\\.:].*)?\"}[1m]) or irate(node_network_receive_drop_total{instance=~\"$ceph_hosts([\\\\.:].*)?\"}[1m])",
503 "format": "time_series",
504 "intervalFactor": 1,
505 "legendFormat": "{{device}}.rx",
506 "refId": "A"
507 },
508 {
509 "expr": "irate(node_network_transmit_drop{instance=~\"$ceph_hosts([\\\\.:].*)?\"}[1m]) or irate(node_network_transmit_drop_total{instance=~\"$ceph_hosts([\\\\.:].*)?\"}[1m])",
510 "format": "time_series",
511 "intervalFactor": 1,
512 "legendFormat": "{{device}}.tx",
513 "refId": "B"
514 }
515 ],
516 "thresholds": [ ],
517 "timeFrom": null,
518 "timeShift": null,
519 "title": "Network drop rate",
520 "tooltip": {
521 "shared": true,
522 "sort": 0,
523 "value_type": "individual"
524 },
525 "type": "graph",
526 "xaxis": {
527 "buckets": null,
528 "mode": "time",
529 "name": null,
530 "show": true,
531 "values": [ ]
532 },
533 "yaxes": [
534 {
535 "format": "pps",
536 "label": "Send (-) / Receive (+)",
537 "logBase": 1,
538 "max": null,
539 "min": null,
540 "show": true
541 },
542 {
543 "format": "short",
544 "label": null,
545 "logBase": 1,
546 "max": null,
547 "min": null,
548 "show": true
549 }
550 ]
81eedcae 551 },
a4b75251
TL
552 {
553 "cacheTimeout": null,
554 "colorBackground": false,
555 "colorValue": false,
556 "colors": [
557 "#299c46",
558 "rgba(237, 129, 40, 0.89)",
559 "#d44a3a"
560 ],
561 "datasource": "$datasource",
562 "description": "Each OSD consists of a Journal/WAL partition and a data partition. The RAW Capacity shown is the sum of the data partitions across all OSDs on the selected OSD hosts.",
563 "format": "bytes",
564 "gauge": {
565 "maxValue": 100,
566 "minValue": 0,
567 "show": false,
568 "thresholdLabels": false,
569 "thresholdMarkers": true
570 },
571 "gridPos": {
572 "h": 5,
573 "w": 3,
574 "x": 0,
575 "y": 6
576 },
577 "id": 8,
578 "interval": null,
579 "links": [ ],
580 "mappingType": 1,
581 "mappingTypes": [
582 {
583 "name": "value to text",
584 "value": 1
585 },
586 {
587 "name": "range to text",
588 "value": 2
589 }
590 ],
591 "maxDataPoints": 100,
592 "nullPointMode": "connected",
593 "nullText": null,
594 "postfix": "",
595 "postfixFontSize": "50%",
596 "prefix": "",
597 "prefixFontSize": "50%",
598 "rangeMaps": [
599 {
600 "from": "null",
601 "text": "N/A",
602 "to": "null"
603 }
604 ],
605 "sparkline": {
606 "fillColor": "rgba(31, 118, 189, 0.18)",
607 "full": false,
608 "lineColor": "rgb(31, 120, 193)",
609 "show": false
610 },
611 "tableColumn": "",
612 "targets": [
613 {
614 "expr": "sum(ceph_osd_stat_bytes and on (ceph_daemon) ceph_disk_occupation{instance=~\"($ceph_hosts)([\\\\.:].*)?\"})",
615 "format": "time_series",
616 "intervalFactor": 1,
617 "legendFormat": "",
618 "refId": "A"
619 }
620 ],
621 "thresholds": "",
622 "title": "Raw Capacity",
623 "type": "singlestat",
624 "valueFontSize": "80%",
625 "valueMaps": [
626 {
627 "op": "=",
628 "text": "N/A",
629 "value": "null"
630 }
631 ],
632 "valueName": "current"
81eedcae 633 },
a4b75251
TL
634 {
635 "aliasColors": { },
636 "bars": false,
637 "dashLength": 10,
638 "dashes": false,
639 "datasource": "$datasource",
640 "description": "",
641 "fill": 1,
642 "gridPos": {
643 "h": 5,
644 "w": 3,
645 "x": 21,
646 "y": 6
647 },
648 "id": 9,
649 "legend": {
650 "alignAsTable": false,
651 "avg": false,
652 "current": false,
653 "max": false,
654 "min": false,
655 "rightSide": false,
656 "show": true,
657 "sideWidth": null,
658 "total": false,
659 "values": false
660 },
661 "lines": true,
662 "linewidth": 1,
663 "links": [ ],
664 "nullPointMode": "null",
665 "percentage": false,
666 "pointradius": 5,
667 "points": false,
668 "renderer": "flot",
669 "repeat": null,
670 "seriesOverrides": [
671 {
672 "alias": "/.*tx/",
673 "transform": "negative-Y"
674 }
675 ],
676 "spaceLength": 10,
677 "stack": false,
678 "steppedLine": false,
679 "targets": [
680 {
681 "expr": "irate(node_network_receive_errs{instance=~\"$ceph_hosts([\\\\.:].*)?\"}[1m]) or irate(node_network_receive_errs_total{instance=~\"$ceph_hosts([\\\\.:].*)?\"}[1m])",
682 "format": "time_series",
683 "intervalFactor": 1,
684 "legendFormat": "{{device}}.rx",
685 "refId": "A"
686 },
687 {
688 "expr": "irate(node_network_transmit_errs{instance=~\"$ceph_hosts([\\\\.:].*)?\"}[1m]) or irate(node_network_transmit_errs_total{instance=~\"$ceph_hosts([\\\\.:].*)?\"}[1m])",
689 "format": "time_series",
690 "intervalFactor": 1,
691 "legendFormat": "{{device}}.tx",
692 "refId": "B"
693 }
694 ],
695 "thresholds": [ ],
696 "timeFrom": null,
697 "timeShift": null,
698 "title": "Network error rate",
699 "tooltip": {
700 "shared": true,
701 "sort": 0,
702 "value_type": "individual"
703 },
704 "type": "graph",
705 "xaxis": {
706 "buckets": null,
707 "mode": "time",
708 "name": null,
709 "show": true,
710 "values": [ ]
711 },
712 "yaxes": [
713 {
714 "format": "pps",
715 "label": "Send (-) / Receive (+)",
716 "logBase": 1,
717 "max": null,
718 "min": null,
719 "show": true
720 },
721 {
722 "format": "short",
723 "label": null,
724 "logBase": 1,
725 "max": null,
726 "min": null,
727 "show": true
728 }
729 ]
81eedcae 730 },
a4b75251
TL
731 {
732 "collapse": false,
733 "collapsed": false,
734 "gridPos": {
735 "h": 1,
736 "w": 24,
737 "x": 0,
738 "y": 11
739 },
740 "id": 10,
741 "panels": [ ],
742 "repeat": null,
743 "repeatIteration": null,
744 "repeatRowId": null,
745 "showTitle": true,
746 "title": "OSD Disk Performance Statistics",
747 "titleSize": "h6",
748 "type": "row"
eafe8130 749 },
a4b75251
TL
750 {
751 "aliasColors": { },
752 "bars": false,
753 "dashLength": 10,
754 "dashes": false,
755 "datasource": "$datasource",
756 "description": "For any OSD devices on the host, this chart shows the iops per physical device. Each device is shown by it's name and corresponding OSD id value",
757 "fill": 1,
758 "gridPos": {
759 "h": 9,
760 "w": 11,
761 "x": 0,
762 "y": 12
763 },
764 "id": 11,
765 "legend": {
766 "alignAsTable": false,
767 "avg": false,
768 "current": false,
769 "max": false,
770 "min": false,
771 "rightSide": false,
772 "show": true,
773 "sideWidth": null,
774 "total": false,
775 "values": false
776 },
777 "lines": true,
778 "linewidth": 1,
779 "links": [ ],
780 "nullPointMode": "connected",
781 "percentage": false,
782 "pointradius": 5,
783 "points": false,
784 "renderer": "flot",
785 "repeat": null,
786 "seriesOverrides": [
787 {
788 "alias": "/.*reads/",
789 "transform": "negative-Y"
790 }
791 ],
792 "spaceLength": 10,
793 "stack": false,
794 "steppedLine": false,
795 "targets": [
796 {
797 "expr": "label_replace(\n (\n irate(node_disk_writes_completed{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]) or\n irate(node_disk_writes_completed_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m])\n ),\n \"instance\",\n \"$1\",\n \"instance\",\n \"([^:.]*).*\"\n)\n* on(instance, device, ceph_daemon) group_left\n label_replace(\n label_replace(\n ceph_disk_occupation,\n \"device\",\n \"$1\",\n \"device\",\n \"/dev/(.*)\"\n ),\n \"instance\",\n \"$1\",\n \"instance\",\n \"([^:.]*).*\"\n )",
798 "format": "time_series",
799 "intervalFactor": 1,
800 "legendFormat": "{{device}}({{ceph_daemon}}) writes",
801 "refId": "A"
802 },
803 {
804 "expr": "label_replace(\n (irate(node_disk_reads_completed{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]) or irate(node_disk_reads_completed_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m])),\n \"instance\",\n \"$1\",\n \"instance\",\n \"([^:.]*).*\"\n)\n* on(instance, device, ceph_daemon) group_left\n label_replace(\n label_replace(\n ceph_disk_occupation,\n \"device\",\n \"$1\",\n \"device\",\n \"/dev/(.*)\"\n ),\n \"instance\",\n \"$1\",\n \"instance\",\n \"([^:.]*).*\"\n )",
805 "format": "time_series",
806 "intervalFactor": 1,
807 "legendFormat": "{{device}}({{ceph_daemon}}) reads",
808 "refId": "B"
809 }
810 ],
811 "thresholds": [ ],
812 "timeFrom": null,
813 "timeShift": null,
814 "title": "$ceph_hosts Disk IOPS",
815 "tooltip": {
816 "shared": true,
817 "sort": 0,
818 "value_type": "individual"
819 },
820 "type": "graph",
821 "xaxis": {
822 "buckets": null,
823 "mode": "time",
824 "name": null,
825 "show": true,
826 "values": [ ]
827 },
828 "yaxes": [
829 {
830 "format": "ops",
831 "label": "Read (-) / Write (+)",
832 "logBase": 1,
833 "max": null,
834 "min": null,
835 "show": true
836 },
837 {
838 "format": "short",
839 "label": null,
840 "logBase": 1,
841 "max": null,
842 "min": null,
843 "show": true
844 }
845 ]
81eedcae 846 },
a4b75251
TL
847 {
848 "aliasColors": { },
849 "bars": false,
850 "dashLength": 10,
851 "dashes": false,
852 "datasource": "$datasource",
853 "description": "For OSD hosts, this chart shows the disk bandwidth (read bytes/sec + write bytes/sec) of the physical OSD device. Each device is shown by device name, and corresponding OSD id",
854 "fill": 1,
855 "gridPos": {
856 "h": 9,
857 "w": 11,
858 "x": 12,
859 "y": 12
860 },
861 "id": 12,
862 "legend": {
863 "alignAsTable": false,
864 "avg": false,
865 "current": false,
866 "max": false,
867 "min": false,
868 "rightSide": false,
869 "show": true,
870 "sideWidth": null,
871 "total": false,
872 "values": false
873 },
874 "lines": true,
875 "linewidth": 1,
876 "links": [ ],
877 "nullPointMode": "connected",
878 "percentage": false,
879 "pointradius": 5,
880 "points": false,
881 "renderer": "flot",
882 "repeat": null,
883 "seriesOverrides": [
884 {
885 "alias": "/.*read/",
886 "transform": "negative-Y"
887 }
888 ],
889 "spaceLength": 10,
890 "stack": false,
891 "steppedLine": false,
892 "targets": [
893 {
894 "expr": "label_replace((irate(node_disk_bytes_written{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]) or irate(node_disk_written_bytes_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m])), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") * on(instance, device, ceph_daemon) group_left label_replace(label_replace(ceph_disk_occupation, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
895 "format": "time_series",
896 "intervalFactor": 1,
897 "legendFormat": "{{device}}({{ceph_daemon}}) write",
898 "refId": "A"
899 },
900 {
901 "expr": "label_replace((irate(node_disk_bytes_read{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]) or irate(node_disk_read_bytes_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m])), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") * on(instance, device, ceph_daemon) group_left label_replace(label_replace(ceph_disk_occupation, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
902 "format": "time_series",
903 "intervalFactor": 1,
904 "legendFormat": "{{device}}({{ceph_daemon}}) read",
905 "refId": "B"
906 }
907 ],
908 "thresholds": [ ],
909 "timeFrom": null,
910 "timeShift": null,
911 "title": "$ceph_hosts Throughput by Disk",
912 "tooltip": {
913 "shared": true,
914 "sort": 0,
915 "value_type": "individual"
916 },
917 "type": "graph",
918 "xaxis": {
919 "buckets": null,
920 "mode": "time",
921 "name": null,
922 "show": true,
923 "values": [ ]
924 },
925 "yaxes": [
926 {
927 "format": "Bps",
928 "label": "Read (-) / Write (+)",
929 "logBase": 1,
930 "max": null,
931 "min": null,
932 "show": true
933 },
934 {
935 "format": "short",
936 "label": null,
937 "logBase": 1,
938 "max": null,
939 "min": null,
940 "show": true
941 }
942 ]
81eedcae 943 },
11fdf7f2 944 {
a4b75251
TL
945 "aliasColors": { },
946 "bars": false,
947 "dashLength": 10,
948 "dashes": false,
949 "datasource": "$datasource",
950 "description": "For OSD hosts, this chart shows the latency at the physical drive. Each drive is shown by device name, with it's corresponding OSD id",
951 "fill": 1,
952 "gridPos": {
953 "h": 9,
954 "w": 11,
955 "x": 0,
956 "y": 21
957 },
958 "id": 13,
959 "legend": {
960 "alignAsTable": false,
961 "avg": false,
962 "current": false,
963 "max": false,
964 "min": false,
965 "rightSide": false,
966 "show": true,
967 "sideWidth": null,
968 "total": false,
969 "values": false
970 },
971 "lines": true,
972 "linewidth": 1,
973 "links": [ ],
974 "nullPointMode": "null as zero",
975 "percentage": false,
976 "pointradius": 5,
977 "points": false,
978 "renderer": "flot",
979 "repeat": null,
980 "seriesOverrides": [ ],
981 "spaceLength": 10,
982 "stack": false,
983 "steppedLine": false,
984 "targets": [
985 {
986 "expr": "max by(instance,device) (label_replace((irate(node_disk_write_time_seconds_total{ instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]) ) / clamp_min(irate(node_disk_writes_completed_total{ instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]), 0.001) or (irate(node_disk_read_time_seconds_total{ instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]) ) / clamp_min(irate(node_disk_reads_completed_total{ instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]), 0.001), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")) * on(instance, device, ceph_daemon) group_left label_replace(label_replace(ceph_disk_occupation{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
987 "format": "time_series",
988 "intervalFactor": 1,
989 "legendFormat": "{{device}}({{ceph_daemon}})",
990 "refId": "A"
991 }
992 ],
993 "thresholds": [ ],
994 "timeFrom": null,
995 "timeShift": null,
996 "title": "$ceph_hosts Disk Latency",
997 "tooltip": {
998 "shared": true,
999 "sort": 0,
1000 "value_type": "individual"
1001 },
1002 "type": "graph",
1003 "xaxis": {
1004 "buckets": null,
1005 "mode": "time",
1006 "name": null,
1007 "show": true,
1008 "values": [ ]
1009 },
1010 "yaxes": [
1011 {
1012 "format": "s",
1013 "label": "",
1014 "logBase": 1,
1015 "max": null,
1016 "min": null,
1017 "show": true
1018 },
1019 {
1020 "format": "short",
1021 "label": null,
1022 "logBase": 1,
1023 "max": null,
1024 "min": null,
1025 "show": true
1026 }
1027 ]
11fdf7f2
TL
1028 },
1029 {
a4b75251
TL
1030 "aliasColors": { },
1031 "bars": false,
1032 "dashLength": 10,
1033 "dashes": false,
1034 "datasource": "$datasource",
1035 "description": "Show disk utilization % (util) of any OSD devices on the host by the physical device name and associated OSD id.",
1036 "fill": 1,
1037 "gridPos": {
1038 "h": 9,
1039 "w": 11,
1040 "x": 12,
1041 "y": 21
1042 },
1043 "id": 14,
1044 "legend": {
1045 "alignAsTable": false,
1046 "avg": false,
1047 "current": false,
1048 "max": false,
1049 "min": false,
1050 "rightSide": false,
1051 "show": true,
1052 "sideWidth": null,
1053 "total": false,
1054 "values": false
1055 },
1056 "lines": true,
1057 "linewidth": 1,
1058 "links": [ ],
1059 "nullPointMode": "connected",
1060 "percentage": false,
1061 "pointradius": 5,
1062 "points": false,
1063 "renderer": "flot",
1064 "repeat": null,
1065 "seriesOverrides": [ ],
1066 "spaceLength": 10,
1067 "stack": false,
1068 "steppedLine": false,
1069 "targets": [
1070 {
1071 "expr": "label_replace(((irate(node_disk_io_time_ms{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]) / 10 ) or irate(node_disk_io_time_seconds_total{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}[5m]) * 100), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") * on(instance, device, ceph_daemon) group_left label_replace(label_replace(ceph_disk_occupation{instance=~\"($ceph_hosts)([\\\\.:].*)?\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
1072 "format": "time_series",
1073 "intervalFactor": 1,
1074 "legendFormat": "{{device}}({{ceph_daemon}})",
1075 "refId": "A"
1076 }
1077 ],
1078 "thresholds": [ ],
1079 "timeFrom": null,
1080 "timeShift": null,
1081 "title": "$ceph_hosts Disk utilization",
1082 "tooltip": {
1083 "shared": true,
1084 "sort": 0,
1085 "value_type": "individual"
1086 },
1087 "type": "graph",
1088 "xaxis": {
1089 "buckets": null,
1090 "mode": "time",
1091 "name": null,
1092 "show": true,
1093 "values": [ ]
1094 },
1095 "yaxes": [
1096 {
1097 "format": "percent",
1098 "label": "%Util",
1099 "logBase": 1,
1100 "max": null,
1101 "min": null,
1102 "show": true
1103 },
1104 {
1105 "format": "short",
1106 "label": null,
1107 "logBase": 1,
1108 "max": null,
1109 "min": null,
1110 "show": true
1111 }
1112 ]
11fdf7f2 1113 }
a4b75251
TL
1114 ],
1115 "refresh": "10s",
1116 "rows": [ ],
1117 "schemaVersion": 16,
1118 "style": "dark",
1119 "tags": [
1120 "overview"
1121 ],
1122 "templating": {
1123 "list": [
1124 {
1125 "current": {
1126 "text": "default",
1127 "value": "default"
1128 },
1129 "hide": 0,
1130 "label": "Data Source",
1131 "name": "datasource",
1132 "options": [ ],
1133 "query": "prometheus",
1134 "refresh": 1,
1135 "regex": "",
1136 "type": "datasource"
1137 },
1138 {
1139 "allValue": null,
1140 "current": { },
1141 "datasource": "$datasource",
1142 "hide": 0,
1143 "includeAll": false,
1144 "label": "Hostname",
1145 "multi": false,
1146 "name": "ceph_hosts",
1147 "options": [ ],
1148 "query": "label_values(node_scrape_collector_success, instance) ",
1149 "refresh": 1,
1150 "regex": "([^.:]*).*",
1151 "sort": 3,
1152 "tagValuesQuery": "",
1153 "tags": [ ],
1154 "tagsQuery": "",
1155 "type": "query",
1156 "useTags": false
1157 }
1158 ]
1159 },
1160 "time": {
1161 "from": "now-1h",
1162 "to": "now"
1163 },
1164 "timepicker": {
1165 "refresh_intervals": [
1166 "5s",
1167 "10s",
1168 "30s",
1169 "1m",
1170 "5m",
1171 "15m",
1172 "30m",
1173 "1h",
1174 "2h",
1175 "1d"
1176 ],
1177 "time_options": [
1178 "5m",
1179 "15m",
1180 "1h",
1181 "6h",
1182 "12h",
1183 "24h",
1184 "2d",
1185 "7d",
1186 "30d"
1187 ]
1188 },
1189 "timezone": "",
1190 "title": "Host Details",
1191 "uid": "rtOg0AiWz",
1192 "version": 0
11fdf7f2 1193}