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