]> git.proxmox.com Git - ceph.git/blame - ceph/monitoring/ceph-mixin/dashboards_out/pool-detail.json
import quincy beta 17.1.0
[ceph.git] / ceph / monitoring / ceph-mixin / dashboards_out / pool-detail.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"
11fdf7f2 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 "cacheTimeout": null,
48 "colorBackground": false,
49 "colorValue": true,
50 "colors": [
51 "#299c46",
52 "rgba(237, 129, 40, 0.89)",
53 "#d44a3a"
54 ],
55 "datasource": "$datasource",
56 "format": "percentunit",
57 "gauge": {
58 "maxValue": 1,
59 "minValue": 0,
60 "show": true,
61 "thresholdLabels": false,
62 "thresholdMarkers": true
63 },
64 "gridPos": {
65 "h": 7,
66 "w": 7,
67 "x": 0,
68 "y": 0
69 },
70 "id": 2,
71 "interval": null,
72 "links": [ ],
73 "mappingType": 1,
74 "mappingTypes": [
75 {
76 "name": "value to text",
77 "value": 1
78 },
79 {
80 "name": "range to text",
81 "value": 2
82 }
83 ],
84 "maxDataPoints": 100,
85 "nullPointMode": "connected",
86 "nullText": null,
87 "postfix": "",
88 "postfixFontSize": "50%",
89 "prefix": "",
90 "prefixFontSize": "50%",
91 "rangeMaps": [
92 {
93 "from": "null",
94 "text": "N/A",
95 "to": "null"
96 }
97 ],
98 "sparkline": {
99 "fillColor": "rgba(31, 118, 189, 0.18)",
100 "full": false,
101 "lineColor": "rgb(31, 120, 193)",
102 "show": true
103 },
104 "tableColumn": "",
105 "targets": [
106 {
107 "expr": "(ceph_pool_stored / (ceph_pool_stored + ceph_pool_max_avail)) * on(pool_id) group_left(instance,name) ceph_pool_metadata{name=~\"$pool_name\"}",
108 "format": "time_series",
109 "intervalFactor": 1,
110 "legendFormat": "",
111 "refId": "A"
112 }
113 ],
114 "thresholds": ".7,.8",
115 "title": "Capacity used",
116 "type": "singlestat",
117 "valueFontSize": "80%",
118 "valueMaps": [
119 {
120 "op": "=",
121 "text": "N/A",
122 "value": "null"
123 }
124 ],
125 "valueName": "current"
81eedcae 126 },
a4b75251
TL
127 {
128 "cacheTimeout": null,
129 "colorBackground": false,
130 "colorValue": 100,
131 "colors": [
132 "#299c46",
133 "rgba(237, 129, 40, 0.89)",
134 "#d44a3a"
135 ],
136 "datasource": "$datasource",
137 "description": "Time till pool is full assuming the average fill rate of the last 6 hours",
138 "format": "s",
139 "gauge": {
140 "maxValue": false,
141 "minValue": 0,
142 "show": false,
143 "thresholdLabels": false,
144 "thresholdMarkers": true
145 },
146 "gridPos": {
147 "h": 7,
148 "w": 5,
149 "x": 7,
150 "y": 0
151 },
152 "id": 3,
153 "interval": null,
154 "links": [ ],
155 "mappingType": 1,
156 "mappingTypes": [
157 {
158 "name": "value to text",
159 "value": 1
160 },
161 {
162 "name": "range to text",
163 "value": 2
164 }
165 ],
166 "maxDataPoints": 100,
167 "nullPointMode": "connected",
168 "nullText": null,
169 "postfix": "",
170 "postfixFontSize": "50%",
171 "prefix": "",
172 "prefixFontSize": "50%",
173 "rangeMaps": [
174 {
175 "from": "null",
176 "text": "N/A",
177 "to": "null"
178 }
179 ],
180 "sparkline": {
181 "fillColor": "rgba(31, 118, 189, 0.18)",
182 "full": false,
183 "lineColor": "rgb(31, 120, 193)",
184 "show": ""
185 },
186 "tableColumn": "",
187 "targets": [
188 {
189 "expr": "(ceph_pool_max_avail / deriv(ceph_pool_stored[6h])) * on(pool_id) group_left(instance,name) ceph_pool_metadata{name=~\"$pool_name\"} > 0",
190 "format": "time_series",
191 "intervalFactor": 1,
192 "legendFormat": "",
193 "refId": "A"
194 }
195 ],
196 "thresholds": "current",
197 "title": "Time till full",
198 "type": "singlestat",
199 "valueFontSize": "80%",
200 "valueMaps": [
201 {
202 "op": "=",
203 "text": "N/A",
204 "value": "null"
205 }
206 ],
207 "valueName": false
81eedcae 208 },
a4b75251
TL
209 {
210 "aliasColors": {
211 "read_op_per_sec": "#3F6833",
212 "write_op_per_sec": "#E5AC0E"
213 },
214 "bars": false,
215 "dashLength": 10,
216 "dashes": false,
217 "datasource": "$datasource",
218 "description": "",
219 "fill": 1,
20effc67 220 "fillGradient": 0,
a4b75251
TL
221 "gridPos": {
222 "h": 7,
223 "w": 12,
224 "x": 12,
225 "y": 0
226 },
227 "id": 4,
228 "legend": {
229 "alignAsTable": false,
230 "avg": false,
231 "current": false,
232 "max": false,
233 "min": false,
234 "rightSide": false,
235 "show": true,
236 "sideWidth": null,
237 "total": false,
238 "values": false
239 },
240 "lines": true,
241 "linewidth": 1,
242 "links": [ ],
243 "nullPointMode": "null as zero",
244 "percentage": false,
245 "pointradius": 5,
246 "points": false,
247 "renderer": "flot",
248 "repeat": null,
249 "seriesOverrides": [ ],
250 "spaceLength": 10,
251 "stack": false,
252 "steppedLine": false,
253 "targets": [
254 {
255 "expr": "deriv(ceph_pool_objects[1m]) * on(pool_id) group_left(instance,name) ceph_pool_metadata{name=~\"$pool_name\"}",
256 "format": "time_series",
257 "intervalFactor": 1,
258 "legendFormat": "Objects per second",
259 "refId": "A"
260 }
261 ],
262 "thresholds": [ ],
263 "timeFrom": null,
264 "timeShift": null,
265 "title": "$pool_name Object Ingress/Egress",
266 "tooltip": {
267 "shared": true,
268 "sort": 0,
269 "value_type": "individual"
270 },
271 "type": "graph",
272 "xaxis": {
273 "buckets": null,
274 "mode": "time",
275 "name": null,
276 "show": true,
277 "values": [ ]
278 },
279 "yaxes": [
280 {
281 "format": "ops",
282 "label": "Objects out(-) / in(+) ",
283 "logBase": 1,
284 "max": null,
285 "min": null,
286 "show": true
287 },
288 {
289 "format": "short",
290 "label": null,
291 "logBase": 1,
292 "max": null,
293 "min": null,
294 "show": true
295 }
296 ]
81eedcae 297 },
a4b75251
TL
298 {
299 "aliasColors": {
300 "read_op_per_sec": "#3F6833",
301 "write_op_per_sec": "#E5AC0E"
302 },
303 "bars": false,
304 "dashLength": 10,
305 "dashes": false,
306 "datasource": "$datasource",
307 "description": "",
308 "fill": 1,
20effc67 309 "fillGradient": 0,
a4b75251
TL
310 "gridPos": {
311 "h": 7,
312 "w": 12,
313 "x": 0,
314 "y": 7
315 },
316 "id": 5,
317 "legend": {
318 "alignAsTable": false,
319 "avg": false,
320 "current": false,
321 "max": false,
322 "min": false,
323 "rightSide": false,
324 "show": true,
325 "sideWidth": null,
326 "total": false,
327 "values": false
328 },
329 "lines": true,
330 "linewidth": 1,
331 "links": [ ],
332 "nullPointMode": "null as zero",
333 "percentage": false,
334 "pointradius": 5,
335 "points": false,
336 "renderer": "flot",
337 "repeat": null,
338 "seriesOverrides": [
339 {
340 "alias": "reads",
341 "transform": "negative-Y"
342 }
343 ],
344 "spaceLength": 10,
345 "stack": false,
346 "steppedLine": false,
347 "targets": [
348 {
349 "expr": "irate(ceph_pool_rd[1m]) * on(pool_id) group_left(instance,name) ceph_pool_metadata{name=~\"$pool_name\"}",
350 "format": "time_series",
351 "intervalFactor": 1,
352 "legendFormat": "reads",
353 "refId": "A"
354 },
355 {
356 "expr": "irate(ceph_pool_wr[1m]) * on(pool_id) group_left(instance,name) ceph_pool_metadata{name=~\"$pool_name\"}",
357 "format": "time_series",
358 "intervalFactor": 1,
359 "legendFormat": "writes",
360 "refId": "B"
361 }
362 ],
363 "thresholds": [ ],
364 "timeFrom": null,
365 "timeShift": null,
366 "title": "$pool_name Client IOPS",
367 "tooltip": {
368 "shared": true,
369 "sort": 0,
370 "value_type": "individual"
371 },
372 "type": "graph",
373 "xaxis": {
374 "buckets": null,
375 "mode": "time",
376 "name": null,
377 "show": true,
378 "values": [ ]
379 },
380 "yaxes": [
381 {
382 "format": "iops",
383 "label": "Read (-) / Write (+)",
384 "logBase": 1,
385 "max": null,
386 "min": null,
387 "show": true
388 },
389 {
390 "format": "short",
391 "label": null,
392 "logBase": 1,
393 "max": null,
394 "min": null,
395 "show": true
396 }
397 ]
81eedcae 398 },
11fdf7f2 399 {
a4b75251
TL
400 "aliasColors": {
401 "read_op_per_sec": "#3F6833",
402 "write_op_per_sec": "#E5AC0E"
403 },
404 "bars": false,
405 "dashLength": 10,
406 "dashes": false,
407 "datasource": "$datasource",
408 "description": "",
409 "fill": 1,
20effc67 410 "fillGradient": 0,
a4b75251
TL
411 "gridPos": {
412 "h": 7,
413 "w": 12,
414 "x": 12,
415 "y": 7
416 },
417 "id": 6,
418 "legend": {
419 "alignAsTable": false,
420 "avg": false,
421 "current": false,
422 "max": false,
423 "min": false,
424 "rightSide": false,
425 "show": true,
426 "sideWidth": null,
427 "total": false,
428 "values": false
429 },
430 "lines": true,
431 "linewidth": 1,
432 "links": [ ],
433 "nullPointMode": "null as zero",
434 "percentage": false,
435 "pointradius": 5,
436 "points": false,
437 "renderer": "flot",
438 "repeat": null,
439 "seriesOverrides": [
440 {
441 "alias": "reads",
442 "transform": "negative-Y"
443 }
444 ],
445 "spaceLength": 10,
446 "stack": false,
447 "steppedLine": false,
448 "targets": [
449 {
450 "expr": "irate(ceph_pool_rd_bytes[1m]) + on(pool_id) group_left(instance,name) ceph_pool_metadata{name=~\"$pool_name\"}",
451 "format": "time_series",
452 "intervalFactor": 1,
453 "legendFormat": "reads",
454 "refId": "A"
455 },
456 {
457 "expr": "irate(ceph_pool_wr_bytes[1m]) + on(pool_id) group_left(instance,name) ceph_pool_metadata{name=~\"$pool_name\"}",
458 "format": "time_series",
459 "intervalFactor": 1,
460 "legendFormat": "writes",
461 "refId": "B"
462 }
463 ],
464 "thresholds": [ ],
465 "timeFrom": null,
466 "timeShift": null,
467 "title": "$pool_name Client Throughput",
468 "tooltip": {
469 "shared": true,
470 "sort": 0,
471 "value_type": "individual"
472 },
473 "type": "graph",
474 "xaxis": {
475 "buckets": null,
476 "mode": "time",
477 "name": null,
478 "show": true,
479 "values": [ ]
480 },
481 "yaxes": [
482 {
483 "format": "Bps",
484 "label": "Read (-) / Write (+)",
485 "logBase": 1,
486 "max": null,
487 "min": null,
488 "show": true
489 },
490 {
491 "format": "short",
492 "label": null,
493 "logBase": 1,
494 "max": null,
495 "min": null,
496 "show": true
497 }
498 ]
11fdf7f2
TL
499 },
500 {
a4b75251
TL
501 "aliasColors": {
502 "read_op_per_sec": "#3F6833",
503 "write_op_per_sec": "#E5AC0E"
504 },
505 "bars": false,
506 "dashLength": 10,
507 "dashes": false,
508 "datasource": "$datasource",
509 "description": "",
510 "fill": 1,
20effc67 511 "fillGradient": 0,
a4b75251
TL
512 "gridPos": {
513 "h": 7,
514 "w": 12,
515 "x": 0,
516 "y": 14
517 },
518 "id": 7,
519 "legend": {
520 "alignAsTable": false,
521 "avg": false,
522 "current": false,
523 "max": false,
524 "min": false,
525 "rightSide": false,
526 "show": true,
527 "sideWidth": null,
528 "total": false,
529 "values": false
530 },
531 "lines": true,
532 "linewidth": 1,
533 "links": [ ],
534 "nullPointMode": "null as zero",
535 "percentage": false,
536 "pointradius": 5,
537 "points": false,
538 "renderer": "flot",
539 "repeat": null,
540 "seriesOverrides": [ ],
541 "spaceLength": 10,
542 "stack": false,
543 "steppedLine": false,
544 "targets": [
545 {
546 "expr": "ceph_pool_objects * on(pool_id) group_left(instance,name) ceph_pool_metadata{name=~\"$pool_name\"}",
547 "format": "time_series",
548 "intervalFactor": 1,
549 "legendFormat": "Number of Objects",
550 "refId": "A"
551 }
552 ],
553 "thresholds": [ ],
554 "timeFrom": null,
555 "timeShift": null,
556 "title": "$pool_name Objects",
557 "tooltip": {
558 "shared": true,
559 "sort": 0,
560 "value_type": "individual"
561 },
562 "type": "graph",
563 "xaxis": {
564 "buckets": null,
565 "mode": "time",
566 "name": null,
567 "show": true,
568 "values": [ ]
569 },
570 "yaxes": [
571 {
572 "format": "short",
573 "label": "Objects",
574 "logBase": 1,
575 "max": null,
576 "min": null,
577 "show": true
578 },
579 {
580 "format": "short",
581 "label": null,
582 "logBase": 1,
583 "max": null,
584 "min": null,
585 "show": true
586 }
587 ]
11fdf7f2 588 }
a4b75251
TL
589 ],
590 "refresh": "15s",
591 "rows": [ ],
592 "schemaVersion": 22,
593 "style": "dark",
594 "tags": [ ],
595 "templating": {
596 "list": [
597 {
598 "current": {
599 "text": "Prometheus admin.virt1.home.fajerski.name:9090",
600 "value": "Prometheus admin.virt1.home.fajerski.name:9090"
601 },
602 "hide": 0,
603 "label": "Data Source",
604 "name": "datasource",
605 "options": [ ],
606 "query": "prometheus",
607 "refresh": 1,
608 "regex": "",
609 "type": "datasource"
610 },
611 {
612 "allValue": null,
613 "current": { },
614 "datasource": "$datasource",
615 "hide": 0,
616 "includeAll": false,
617 "label": "Pool Name",
618 "multi": false,
619 "name": "pool_name",
620 "options": [ ],
621 "query": "label_values(ceph_pool_metadata,name)",
622 "refresh": 1,
623 "regex": "",
624 "sort": 1,
625 "tagValuesQuery": "",
626 "tags": [ ],
627 "tagsQuery": "",
628 "type": "query",
629 "useTags": false
630 }
631 ]
632 },
633 "time": {
634 "from": "now-1h",
635 "to": "now"
636 },
637 "timepicker": {
638 "refresh_intervals": [
639 "5s",
640 "10s",
641 "15s",
642 "30s",
643 "1m",
644 "5m",
645 "15m",
646 "30m",
647 "1h",
648 "2h",
649 "1d"
650 ],
651 "time_options": [
652 "5m",
653 "15m",
654 "1h",
655 "6h",
656 "12h",
657 "24h",
658 "2d",
659 "7d",
660 "30d"
661 ]
662 },
663 "timezone": "",
664 "title": "Ceph Pool Details",
665 "uid": "-xyV8KCiz",
666 "version": 0
11fdf7f2 667}