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