]> git.proxmox.com Git - ceph.git/blob - ceph/monitoring/grafana/dashboards/radosgw-overview.json
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / monitoring / grafana / dashboards / radosgw-overview.json
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": 1534386107523,
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": 2,
45 "panels": [],
46 "title": "RGW Overview - All Gateways",
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": 7,
58 "w": 8,
59 "x": 0,
60 "y": 1
61 },
62 "id": 29,
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": "avg(rate(ceph_rgw_get_initial_lat_sum[30s]) / rate(ceph_rgw_get_initial_lat_count[30s]))",
87 "format": "time_series",
88 "intervalFactor": 1,
89 "legendFormat": "GET AVG",
90 "refId": "A"
91 },
92 {
93 "expr": "avg(rate(ceph_rgw_put_initial_lat_sum[30s]) / rate(ceph_rgw_put_initial_lat_count[30s]))",
94 "format": "time_series",
95 "intervalFactor": 1,
96 "legendFormat": "PUT AVG",
97 "refId": "B"
98 }
99 ],
100 "thresholds": [],
101 "timeFrom": null,
102 "timeShift": null,
103 "title": "Average GET/PUT Latencies",
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": "s",
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": 7,
145 "w": 7,
146 "x": 8,
147 "y": 1
148 },
149 "id": 4,
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": true,
170 "steppedLine": false,
171 "targets": [
172 {
173 "expr": "sum by(rgw_host) (label_replace(rate(ceph_rgw_req[30s]), \"rgw_host\", \"$1\", \"ceph_daemon\", \"rgw.(.*)\"))",
174 "format": "time_series",
175 "intervalFactor": 1,
176 "legendFormat": "{{rgw_host}}",
177 "refId": "A"
178 }
179 ],
180 "thresholds": [],
181 "timeFrom": null,
182 "timeShift": null,
183 "title": "Total Requests/sec by RGW Instance",
184 "tooltip": {
185 "shared": true,
186 "sort": 0,
187 "value_type": "individual"
188 },
189 "type": "graph",
190 "xaxis": {
191 "buckets": null,
192 "mode": "time",
193 "name": null,
194 "show": true,
195 "values": []
196 },
197 "yaxes": [
198 {
199 "decimals": 0,
200 "format": "none",
201 "label": null,
202 "logBase": 1,
203 "max": null,
204 "min": "0",
205 "show": true
206 },
207 {
208 "format": "short",
209 "label": null,
210 "logBase": 1,
211 "max": null,
212 "min": null,
213 "show": true
214 }
215 ]
216 },
217 {
218 "aliasColors": {},
219 "bars": false,
220 "dashLength": 10,
221 "dashes": false,
222 "datasource": "$datasource",
223 "description": "Latencies are shown stacked, without a yaxis to provide a visual indication of GET latency imbalance across RGW hosts",
224 "fill": 1,
225 "gridPos": {
226 "h": 7,
227 "w": 6,
228 "x": 15,
229 "y": 1
230 },
231 "id": 31,
232 "legend": {
233 "avg": false,
234 "current": false,
235 "max": false,
236 "min": false,
237 "show": true,
238 "total": false,
239 "values": false
240 },
241 "lines": true,
242 "linewidth": 1,
243 "links": [],
244 "nullPointMode": "null",
245 "percentage": false,
246 "pointradius": 5,
247 "points": false,
248 "renderer": "flot",
249 "seriesOverrides": [],
250 "spaceLength": 10,
251 "stack": true,
252 "steppedLine": false,
253 "targets": [
254 {
255 "expr": "label_replace(rate(ceph_rgw_get_initial_lat_sum[30s]),\"rgw_host\",\"$1\",\"ceph_daemon\",\"rgw.(.*)\") / \nlabel_replace(rate(ceph_rgw_get_initial_lat_count[30s]),\"rgw_host\",\"$1\",\"ceph_daemon\",\"rgw.(.*)\")",
256 "format": "time_series",
257 "intervalFactor": 1,
258 "legendFormat": "{{rgw_host}}",
259 "refId": "A"
260 }
261 ],
262 "thresholds": [],
263 "timeFrom": null,
264 "timeShift": null,
265 "title": "GET Latencies by RGW Instance",
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 "decimals": null,
282 "format": "s",
283 "label": null,
284 "logBase": 1,
285 "max": null,
286 "min": "0",
287 "show": false
288 },
289 {
290 "format": "short",
291 "label": null,
292 "logBase": 1,
293 "max": null,
294 "min": null,
295 "show": false
296 }
297 ]
298 },
299 {
300 "aliasColors": {},
301 "bars": false,
302 "dashLength": 10,
303 "dashes": false,
304 "datasource": "$datasource",
305 "description": "Total bytes transferred in/out of all radosgw instances within the cluster",
306 "fill": 1,
307 "gridPos": {
308 "h": 6,
309 "w": 8,
310 "x": 0,
311 "y": 8
312 },
313 "id": 6,
314 "legend": {
315 "avg": false,
316 "current": false,
317 "max": false,
318 "min": false,
319 "show": true,
320 "total": false,
321 "values": false
322 },
323 "lines": true,
324 "linewidth": 1,
325 "links": [],
326 "nullPointMode": "null",
327 "percentage": false,
328 "pointradius": 5,
329 "points": false,
330 "renderer": "flot",
331 "seriesOverrides": [],
332 "spaceLength": 10,
333 "stack": true,
334 "steppedLine": false,
335 "targets": [
336 {
337 "expr": "sum(rate(ceph_rgw_get_b[30s]))",
338 "format": "time_series",
339 "intervalFactor": 1,
340 "legendFormat": "GETs",
341 "refId": "A"
342 },
343 {
344 "expr": "sum(rate(ceph_rgw_put_b[30s]))",
345 "format": "time_series",
346 "intervalFactor": 1,
347 "legendFormat": "PUTs",
348 "refId": "B"
349 }
350 ],
351 "thresholds": [],
352 "timeFrom": null,
353 "timeShift": null,
354 "title": "Bandwidth Consumed by Type",
355 "tooltip": {
356 "shared": true,
357 "sort": 0,
358 "value_type": "individual"
359 },
360 "type": "graph",
361 "xaxis": {
362 "buckets": null,
363 "mode": "time",
364 "name": null,
365 "show": true,
366 "values": []
367 },
368 "yaxes": [
369 {
370 "format": "bytes",
371 "label": null,
372 "logBase": 1,
373 "max": null,
374 "min": "0",
375 "show": true
376 },
377 {
378 "format": "short",
379 "label": null,
380 "logBase": 1,
381 "max": null,
382 "min": null,
383 "show": true
384 }
385 ]
386 },
387 {
388 "aliasColors": {},
389 "bars": false,
390 "dashLength": 10,
391 "dashes": false,
392 "datasource": "$datasource",
393 "description": "Total bytes transferred in/out through get/put operations, by radosgw instance",
394 "fill": 1,
395 "gridPos": {
396 "h": 6,
397 "w": 7,
398 "x": 8,
399 "y": 8
400 },
401 "id": 9,
402 "legend": {
403 "avg": false,
404 "current": false,
405 "max": false,
406 "min": false,
407 "show": true,
408 "total": false,
409 "values": false
410 },
411 "lines": true,
412 "linewidth": 1,
413 "links": [],
414 "nullPointMode": "null",
415 "percentage": false,
416 "pointradius": 5,
417 "points": false,
418 "renderer": "flot",
419 "seriesOverrides": [],
420 "spaceLength": 10,
421 "stack": true,
422 "steppedLine": false,
423 "targets": [
424 {
425 "expr": "sum by(rgw_host) (\n (label_replace(rate(ceph_rgw_get_b[30s]), \"rgw_host\",\"$1\",\"ceph_daemon\",\"rgw.(.*)\")) + \n (label_replace(rate(ceph_rgw_put_b[30s]), \"rgw_host\",\"$1\",\"ceph_daemon\",\"rgw.(.*)\"))\n)",
426 "format": "time_series",
427 "intervalFactor": 1,
428 "legendFormat": "{{rgw_host}}",
429 "refId": "A"
430 }
431 ],
432 "thresholds": [],
433 "timeFrom": null,
434 "timeShift": null,
435 "title": "Bandwidth by RGW Instance",
436 "tooltip": {
437 "shared": true,
438 "sort": 0,
439 "value_type": "individual"
440 },
441 "type": "graph",
442 "xaxis": {
443 "buckets": null,
444 "mode": "time",
445 "name": null,
446 "show": true,
447 "values": []
448 },
449 "yaxes": [
450 {
451 "format": "bytes",
452 "label": null,
453 "logBase": 1,
454 "max": null,
455 "min": "0",
456 "show": true
457 },
458 {
459 "format": "short",
460 "label": null,
461 "logBase": 1,
462 "max": null,
463 "min": null,
464 "show": true
465 }
466 ]
467 },
468 {
469 "aliasColors": {},
470 "bars": false,
471 "dashLength": 10,
472 "dashes": false,
473 "datasource": "$datasource",
474 "description": "Latencies are shown stacked, without a yaxis to provide a visual indication of PUT latency imbalance across RGW hosts",
475 "fill": 1,
476 "gridPos": {
477 "h": 6,
478 "w": 6,
479 "x": 15,
480 "y": 8
481 },
482 "id": 32,
483 "legend": {
484 "avg": false,
485 "current": false,
486 "max": false,
487 "min": false,
488 "show": true,
489 "total": false,
490 "values": false
491 },
492 "lines": true,
493 "linewidth": 1,
494 "links": [],
495 "nullPointMode": "null",
496 "percentage": false,
497 "pointradius": 5,
498 "points": false,
499 "renderer": "flot",
500 "seriesOverrides": [],
501 "spaceLength": 10,
502 "stack": true,
503 "steppedLine": false,
504 "targets": [
505 {
506 "expr": "label_replace(rate(ceph_rgw_put_initial_lat_sum[30s]),\"rgw_host\",\"$1\",\"ceph_daemon\",\"rgw.(.*)\") / \nlabel_replace(rate(ceph_rgw_put_initial_lat_count[30s]),\"rgw_host\",\"$1\",\"ceph_daemon\",\"rgw.(.*)\")",
507 "format": "time_series",
508 "intervalFactor": 1,
509 "legendFormat": "{{rgw_host}}",
510 "refId": "A"
511 }
512 ],
513 "thresholds": [],
514 "timeFrom": null,
515 "timeShift": null,
516 "title": "PUT Latencies by RGW Instance",
517 "tooltip": {
518 "shared": true,
519 "sort": 0,
520 "value_type": "individual"
521 },
522 "type": "graph",
523 "xaxis": {
524 "buckets": null,
525 "mode": "time",
526 "name": null,
527 "show": true,
528 "values": []
529 },
530 "yaxes": [
531 {
532 "decimals": null,
533 "format": "s",
534 "label": null,
535 "logBase": 1,
536 "max": null,
537 "min": "0",
538 "show": false
539 },
540 {
541 "format": "short",
542 "label": null,
543 "logBase": 1,
544 "max": null,
545 "min": null,
546 "show": false
547 }
548 ]
549 }
550 ],
551 "refresh": "15s",
552 "schemaVersion": 16,
553 "style": "dark",
554 "tags": [
555 "overview"
556 ],
557 "templating": {
558 "list": [
559 {
560 "allValue": null,
561 "current": {},
562 "datasource": "$datasource",
563 "hide": 2,
564 "includeAll": true,
565 "label": null,
566 "multi": false,
567 "name": "rgw_servers",
568 "options": [],
569 "query": "label_values(ceph_rgw_req, ceph_daemon)",
570 "refresh": 1,
571 "regex": "",
572 "sort": 1,
573 "tagValuesQuery": "",
574 "tags": [],
575 "tagsQuery": "",
576 "type": "query",
577 "useTags": false
578 },
579 {
580 "current": {
581 "tags": [],
582 "text": "default",
583 "value": "default"
584 },
585 "hide": 0,
586 "label": "Data Source",
587 "name": "datasource",
588 "options": [],
589 "query": "prometheus",
590 "refresh": 1,
591 "regex": "",
592 "type": "datasource"
593 }
594 ]
595 },
596 "time": {
597 "from": "now-1h",
598 "to": "now"
599 },
600 "timepicker": {
601 "refresh_intervals": [
602 "5s",
603 "10s",
604 "15s",
605 "30s",
606 "1m",
607 "5m",
608 "15m",
609 "30m",
610 "1h",
611 "2h",
612 "1d"
613 ],
614 "time_options": [
615 "5m",
616 "15m",
617 "1h",
618 "6h",
619 "12h",
620 "24h",
621 "2d",
622 "7d",
623 "30d"
624 ]
625 },
626 "timezone": "",
627 "title": "RGW Overview",
628 "uid": "WAkugZpiz",
629 "version": 2
630 }