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