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