]> git.proxmox.com Git - ceph.git/blob - ceph/monitoring/grafana/dashboards/pool-overview.json
import ceph 14.2.5
[ceph.git] / ceph / monitoring / grafana / dashboards / pool-overview.json
1 {
2 "annotations": {
3 "list": [
4 {
5 "builtIn": 1,
6 "datasource": "-- Grafana --",
7 "enable": true,
8 "hide": true,
9 "iconColor": "rgba(0, 211, 255, 1)",
10 "name": "Annotations & Alerts",
11 "type": "dashboard"
12 }
13 ]
14 },
15 "editable": false,
16 "gnetId": null,
17 "graphTooltip": 0,
18 "iteration": 1551789900270,
19 "links": [],
20 "panels": [
21 {
22 "aliasColors": {},
23 "bars": false,
24 "dashLength": 10,
25 "dashes": false,
26 "datasource": "$datasource",
27 "fill": 1,
28 "gridPos": {
29 "h": 7,
30 "w": 12,
31 "x": 0,
32 "y": 1
33 },
34 "id": 1,
35 "legend": {
36 "avg": false,
37 "current": false,
38 "max": false,
39 "min": false,
40 "show": true,
41 "total": false,
42 "values": false
43 },
44 "lines": true,
45 "linewidth": 1,
46 "links": [],
47 "minSpan": 12,
48 "nullPointMode": "null",
49 "percentage": false,
50 "pointradius": 5,
51 "points": false,
52 "renderer": "flot",
53 "seriesOverrides": [
54 {
55 "alias": "/.* read/",
56 "transform": "negative-Y"
57 }
58 ],
59 "spaceLength": 10,
60 "stack": false,
61 "steppedLine": false,
62 "targets": [
63 {
64 "expr": "topk($topk,rate(ceph_pool_rd[1m]) + on(pool_id) group_left(instance,name) ceph_pool_metadata) ",
65 "format": "time_series",
66 "hide": false,
67 "intervalFactor": 1,
68 "legendFormat": "{{name}} - read",
69 "refId": "F"
70 },
71 {
72 "expr": "topk($topk,rate(ceph_pool_wr[1m]) + on(pool_id) group_left(instance,name) ceph_pool_metadata) ",
73 "format": "time_series",
74 "intervalFactor": 1,
75 "legendFormat": "{{name}} - write",
76 "refId": "A"
77 }
78 ],
79 "thresholds": [],
80 "timeFrom": null,
81 "timeShift": null,
82 "title": "Top $topk Client IOPS by Pool",
83 "tooltip": {
84 "shared": true,
85 "sort": 2,
86 "value_type": "individual"
87 },
88 "type": "graph",
89 "xaxis": {
90 "buckets": null,
91 "mode": "time",
92 "name": null,
93 "show": true,
94 "values": []
95 },
96 "yaxes": [
97 {
98 "format": "none",
99 "label": "Read (-) / Write (+)",
100 "logBase": 1,
101 "max": null,
102 "min": null,
103 "show": true
104 },
105 {
106 "format": "short",
107 "label": null,
108 "logBase": 1,
109 "max": null,
110 "min": null,
111 "show": false
112 }
113 ],
114 "yaxis": {
115 "align": false,
116 "alignLevel": null
117 }
118 },
119 {
120 "aliasColors": {},
121 "bars": false,
122 "dashLength": 10,
123 "dashes": false,
124 "datasource": "$datasource",
125 "fill": 1,
126 "gridPos": {
127 "h": 7,
128 "w": 12,
129 "x": 12,
130 "y": 1
131 },
132 "id": 2,
133 "legend": {
134 "avg": false,
135 "current": false,
136 "max": false,
137 "min": false,
138 "show": true,
139 "total": false,
140 "values": false
141 },
142 "lines": true,
143 "linewidth": 1,
144 "links": [],
145 "minSpan": 12,
146 "nullPointMode": "null",
147 "percentage": false,
148 "pointradius": 5,
149 "points": false,
150 "renderer": "flot",
151 "seriesOverrides": [
152 {
153 "alias": "/.* read/",
154 "transform": "negative-Y"
155 }
156 ],
157 "spaceLength": 10,
158 "stack": false,
159 "steppedLine": false,
160 "targets": [
161 {
162 "expr": "topk($topk,rate(ceph_pool_rd_bytes[1m]) + on(pool_id) group_left(instance,name) ceph_pool_metadata)",
163 "format": "time_series",
164 "intervalFactor": 1,
165 "legendFormat": "{{name}} - read",
166 "refId": "A",
167 "textEditor": true
168 },
169 {
170 "expr": "topk($topk,rate(ceph_pool_wr_bytes[1m]) + on(pool_id) group_left(instance,name) ceph_pool_metadata)",
171 "format": "time_series",
172 "intervalFactor": 1,
173 "legendFormat": "{{name}} - write",
174 "refId": "B"
175 }
176 ],
177 "thresholds": [],
178 "timeFrom": null,
179 "timeShift": null,
180 "title": "Top $topk Client Throughput by Pool",
181 "tooltip": {
182 "shared": true,
183 "sort": 2,
184 "value_type": "individual"
185 },
186 "type": "graph",
187 "xaxis": {
188 "buckets": null,
189 "mode": "time",
190 "name": null,
191 "show": true,
192 "values": []
193 },
194 "yaxes": [
195 {
196 "format": "Bps",
197 "label": "Read (-) / Writes (+)",
198 "logBase": 1,
199 "max": null,
200 "min": null,
201 "show": true
202 },
203 {
204 "format": "short",
205 "label": null,
206 "logBase": 1,
207 "max": null,
208 "min": null,
209 "show": false
210 }
211 ],
212 "yaxis": {
213 "align": false,
214 "alignLevel": null
215 }
216 },
217 {
218 "columns": [
219 {
220 "text": "Current",
221 "value": "current"
222 }
223 ],
224 "datasource": "$datasource",
225 "fontSize": "100%",
226 "gridPos": {
227 "h": 7,
228 "w": 8,
229 "x": 0,
230 "y": 9
231 },
232 "id": 3,
233 "links": [],
234 "minSpan": 12,
235 "pageSize": null,
236 "scroll": true,
237 "showHeader": true,
238 "sort": {
239 "col": 5,
240 "desc": true
241 },
242 "styles": [
243 {
244 "alias": "",
245 "colorMode": null,
246 "colors": [
247 "rgba(245, 54, 54, 0.9)",
248 "rgba(237, 129, 40, 0.89)",
249 "rgba(50, 172, 45, 0.97)"
250 ],
251 "dateFormat": "YYYY-MM-DD HH:mm:ss",
252 "decimals": 2,
253 "pattern": "Time",
254 "thresholds": [],
255 "type": "hidden",
256 "unit": "short"
257 },
258 {
259 "alias": "",
260 "colorMode": null,
261 "colors": [
262 "rgba(245, 54, 54, 0.9)",
263 "rgba(237, 129, 40, 0.89)",
264 "rgba(50, 172, 45, 0.97)"
265 ],
266 "dateFormat": "YYYY-MM-DD HH:mm:ss",
267 "decimals": 2,
268 "pattern": "id",
269 "thresholds": [],
270 "type": "hidden",
271 "unit": "short"
272 },
273 {
274 "alias": "",
275 "colorMode": null,
276 "colors": [
277 "rgba(245, 54, 54, 0.9)",
278 "rgba(237, 129, 40, 0.89)",
279 "rgba(50, 172, 45, 0.97)"
280 ],
281 "dateFormat": "YYYY-MM-DD HH:mm:ss",
282 "decimals": 2,
283 "pattern": "instance",
284 "thresholds": [],
285 "type": "hidden",
286 "unit": "short"
287 },
288 {
289 "alias": "",
290 "colorMode": null,
291 "colors": [
292 "rgba(245, 54, 54, 0.9)",
293 "rgba(237, 129, 40, 0.89)",
294 "rgba(50, 172, 45, 0.97)"
295 ],
296 "dateFormat": "YYYY-MM-DD HH:mm:ss",
297 "decimals": 2,
298 "pattern": "job",
299 "thresholds": [],
300 "type": "hidden",
301 "unit": "short"
302 },
303 {
304 "alias": "Pool Name",
305 "colorMode": null,
306 "colors": [
307 "rgba(245, 54, 54, 0.9)",
308 "rgba(237, 129, 40, 0.89)",
309 "rgba(50, 172, 45, 0.97)"
310 ],
311 "dateFormat": "YYYY-MM-DD HH:mm:ss",
312 "decimals": 2,
313 "pattern": "name",
314 "thresholds": [],
315 "type": "number",
316 "unit": "short"
317 },
318 {
319 "alias": "Pool ID",
320 "colorMode": null,
321 "colors": [
322 "rgba(245, 54, 54, 0.9)",
323 "rgba(237, 129, 40, 0.89)",
324 "rgba(50, 172, 45, 0.97)"
325 ],
326 "dateFormat": "YYYY-MM-DD HH:mm:ss",
327 "decimals": 2,
328 "pattern": "pool_id",
329 "thresholds": [],
330 "type": "number",
331 "unit": "short"
332 },
333 {
334 "alias": "IOPS (R+W)",
335 "colorMode": null,
336 "colors": [
337 "rgba(245, 54, 54, 0.9)",
338 "rgba(237, 129, 40, 0.89)",
339 "rgba(50, 172, 45, 0.97)"
340 ],
341 "dateFormat": "YYYY-MM-DD HH:mm:ss",
342 "decimals": 0,
343 "pattern": "Value",
344 "thresholds": [],
345 "type": "number",
346 "unit": "none"
347 }
348 ],
349 "targets": [
350 {
351 "expr": "topk($topk,((irate(ceph_pool_rd[1m]) + irate(ceph_pool_wr[1m])) + on(pool_id) group_left(instance,name) ceph_pool_metadata))",
352 "format": "table",
353 "instant": true,
354 "intervalFactor": 2,
355 "refId": "A",
356 "textEditor": true
357 }
358 ],
359 "title": "Top $topk Pools by Client IOPS",
360 "transform": "table",
361 "type": "table"
362 },
363 {
364 "columns": [
365 {
366 "text": "Current",
367 "value": "current"
368 }
369 ],
370 "datasource": "$datasource",
371 "fontSize": "100%",
372 "gridPos": {
373 "h": 7,
374 "w": 8,
375 "x": 8,
376 "y": 9
377 },
378 "id": 4,
379 "links": [],
380 "minSpan": 12,
381 "pageSize": null,
382 "scroll": true,
383 "showHeader": true,
384 "sort": {
385 "col": 5,
386 "desc": true
387 },
388 "styles": [
389 {
390 "alias": "Time",
391 "dateFormat": "YYYY-MM-DD HH:mm:ss",
392 "pattern": "Time",
393 "type": "hidden"
394 },
395 {
396 "alias": "",
397 "colorMode": null,
398 "colors": [
399 "rgba(245, 54, 54, 0.9)",
400 "rgba(237, 129, 40, 0.89)",
401 "rgba(50, 172, 45, 0.97)"
402 ],
403 "dateFormat": "YYYY-MM-DD HH:mm:ss",
404 "decimals": 2,
405 "pattern": "id",
406 "thresholds": [],
407 "type": "hidden",
408 "unit": "short"
409 },
410 {
411 "alias": "",
412 "colorMode": null,
413 "colors": [
414 "rgba(245, 54, 54, 0.9)",
415 "rgba(237, 129, 40, 0.89)",
416 "rgba(50, 172, 45, 0.97)"
417 ],
418 "dateFormat": "YYYY-MM-DD HH:mm:ss",
419 "decimals": 2,
420 "pattern": "instance",
421 "thresholds": [],
422 "type": "hidden",
423 "unit": "short"
424 },
425 {
426 "alias": "",
427 "colorMode": null,
428 "colors": [
429 "rgba(245, 54, 54, 0.9)",
430 "rgba(237, 129, 40, 0.89)",
431 "rgba(50, 172, 45, 0.97)"
432 ],
433 "dateFormat": "YYYY-MM-DD HH:mm:ss",
434 "decimals": 2,
435 "pattern": "job",
436 "thresholds": [],
437 "type": "hidden",
438 "unit": "short"
439 },
440 {
441 "alias": "Pool Name",
442 "colorMode": null,
443 "colors": [
444 "rgba(245, 54, 54, 0.9)",
445 "rgba(237, 129, 40, 0.89)",
446 "rgba(50, 172, 45, 0.97)"
447 ],
448 "dateFormat": "YYYY-MM-DD HH:mm:ss",
449 "decimals": 2,
450 "pattern": "name",
451 "thresholds": [],
452 "type": "number",
453 "unit": "short"
454 },
455 {
456 "alias": "Pool ID",
457 "colorMode": null,
458 "colors": [
459 "rgba(245, 54, 54, 0.9)",
460 "rgba(237, 129, 40, 0.89)",
461 "rgba(50, 172, 45, 0.97)"
462 ],
463 "dateFormat": "YYYY-MM-DD HH:mm:ss",
464 "decimals": 2,
465 "pattern": "pool_id",
466 "thresholds": [],
467 "type": "number",
468 "unit": "short"
469 },
470 {
471 "alias": "Throughput",
472 "colorMode": null,
473 "colors": [
474 "rgba(245, 54, 54, 0.9)",
475 "rgba(237, 129, 40, 0.89)",
476 "rgba(50, 172, 45, 0.97)"
477 ],
478 "dateFormat": "YYYY-MM-DD HH:mm:ss",
479 "decimals": 2,
480 "pattern": "Value",
481 "thresholds": [],
482 "type": "number",
483 "unit": "decbytes"
484 }
485 ],
486 "targets": [
487 {
488 "expr": "topk($topk,(irate(ceph_pool_rd_bytes[1m]) + irate(ceph_pool_wr_bytes[1m])) + on(pool_id) group_left(instance,name) ceph_pool_metadata) ",
489 "format": "table",
490 "instant": true,
491 "intervalFactor": 2,
492 "refId": "A",
493 "textEditor": true
494 }
495 ],
496 "title": "Top $topk Pools by Throughput",
497 "transform": "table",
498 "type": "table"
499 },
500 {
501 "columns": [],
502 "datasource": "$datasource",
503 "fontSize": "100%",
504 "gridPos": {
505 "h": 7,
506 "w": 8,
507 "x": 16,
508 "y": 9
509 },
510 "id": 5,
511 "links": [],
512 "minSpan": 8,
513 "pageSize": null,
514 "scroll": true,
515 "showHeader": true,
516 "sort": {
517 "col": 5,
518 "desc": true
519 },
520 "styles": [
521 {
522 "alias": "",
523 "colorMode": null,
524 "colors": [
525 "rgba(245, 54, 54, 0.9)",
526 "rgba(237, 129, 40, 0.89)",
527 "rgba(50, 172, 45, 0.97)"
528 ],
529 "dateFormat": "YYYY-MM-DD HH:mm:ss",
530 "decimals": 2,
531 "pattern": "Time",
532 "thresholds": [],
533 "type": "hidden",
534 "unit": "short"
535 },
536 {
537 "alias": "",
538 "colorMode": null,
539 "colors": [
540 "rgba(245, 54, 54, 0.9)",
541 "rgba(237, 129, 40, 0.89)",
542 "rgba(50, 172, 45, 0.97)"
543 ],
544 "dateFormat": "YYYY-MM-DD HH:mm:ss",
545 "decimals": 2,
546 "pattern": "instance",
547 "thresholds": [],
548 "type": "hidden",
549 "unit": "short"
550 },
551 {
552 "alias": "",
553 "colorMode": null,
554 "colors": [
555 "rgba(245, 54, 54, 0.9)",
556 "rgba(237, 129, 40, 0.89)",
557 "rgba(50, 172, 45, 0.97)"
558 ],
559 "dateFormat": "YYYY-MM-DD HH:mm:ss",
560 "decimals": 2,
561 "pattern": "job",
562 "thresholds": [],
563 "type": "hidden",
564 "unit": "short"
565 },
566 {
567 "alias": "Pool Name",
568 "colorMode": null,
569 "colors": [
570 "rgba(245, 54, 54, 0.9)",
571 "rgba(237, 129, 40, 0.89)",
572 "rgba(50, 172, 45, 0.97)"
573 ],
574 "dateFormat": "YYYY-MM-DD HH:mm:ss",
575 "decimals": 2,
576 "pattern": "name",
577 "thresholds": [],
578 "type": "string",
579 "unit": "short"
580 },
581 {
582 "alias": "Pool ID",
583 "colorMode": null,
584 "colors": [
585 "rgba(245, 54, 54, 0.9)",
586 "rgba(237, 129, 40, 0.89)",
587 "rgba(50, 172, 45, 0.97)"
588 ],
589 "dateFormat": "YYYY-MM-DD HH:mm:ss",
590 "decimals": 2,
591 "pattern": "pool_id",
592 "thresholds": [],
593 "type": "number",
594 "unit": "short"
595 },
596 {
597 "alias": "Capacity Used",
598 "colorMode": "value",
599 "colors": [
600 "rgba(50, 172, 45, 0.97)",
601 "rgba(237, 129, 40, 0.89)",
602 "rgba(245, 54, 54, 0.9)"
603 ],
604 "dateFormat": "YYYY-MM-DD HH:mm:ss",
605 "decimals": 2,
606 "pattern": "Value",
607 "thresholds": [
608 "70",
609 "85"
610 ],
611 "type": "number",
612 "unit": "percentunit"
613 }
614 ],
615 "targets": [
616 {
617 "expr": "topk($topk,((ceph_pool_stored / (ceph_pool_stored + ceph_pool_max_avail)) * on(pool_id) group_left(name) ceph_pool_metadata))",
618 "format": "table",
619 "hide": false,
620 "instant": true,
621 "intervalFactor": 1,
622 "legendFormat": "",
623 "refId": "D"
624 }
625 ],
626 "title": "Top $topk Pools By Capacity Used",
627 "transform": "table",
628 "type": "table"
629 }
630 ],
631 "refresh": "15s",
632 "schemaVersion": 16,
633 "style": "dark",
634 "tags": [],
635 "templating": {
636 "list": [
637 {
638 "current": {
639 "text": "Prometheus admin.virt1.home.fajerski.name:9090",
640 "value": "Prometheus admin.virt1.home.fajerski.name:9090"
641 },
642 "hide": 0,
643 "label": "Data Source",
644 "name": "datasource",
645 "options": [],
646 "query": "prometheus",
647 "refresh": 1,
648 "regex": "",
649 "skipUrlSync": false,
650 "type": "datasource"
651 },
652 {
653 "current": {
654 "text": "15",
655 "value": "15"
656 },
657 "hide": 0,
658 "label": "Top K",
659 "name": "topk",
660 "options": [
661 {
662 "text": "15",
663 "value": "15"
664 }
665 ],
666 "query": "15",
667 "skipUrlSync": false,
668 "type": "textbox"
669 }
670 ]
671 },
672 "time": {
673 "from": "now-1h",
674 "to": "now"
675 },
676 "timepicker": {
677 "refresh_intervals": [
678 "5s",
679 "10s",
680 "15s",
681 "30s",
682 "1m",
683 "5m",
684 "15m",
685 "30m",
686 "1h",
687 "2h",
688 "1d"
689 ],
690 "time_options": [
691 "5m",
692 "15m",
693 "1h",
694 "6h",
695 "12h",
696 "24h",
697 "2d",
698 "7d",
699 "30d"
700 ]
701 },
702 "timezone": "browser",
703 "title": "Ceph Pools Overview",
704 "uid": "z99hzWtmk",
705 "version": 1
706 }