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