]> git.proxmox.com Git - ceph.git/blob - ceph/monitoring/ceph-mixin/dashboards_out/radosgw-detail.json
4d68906f2ba07b75ad2299fad3a4b2854e88db9f
[ceph.git] / ceph / monitoring / ceph-mixin / dashboards_out / radosgw-detail.json
1 {
2 "__inputs": [ ],
3 "__requires": [
4 {
5 "id": "grafana",
6 "name": "Grafana",
7 "type": "grafana",
8 "version": "5.0.0"
9 },
10 {
11 "id": "grafana-piechart-panel",
12 "name": "Pie Chart",
13 "type": "panel",
14 "version": "1.3.3"
15 },
16 {
17 "id": "graph",
18 "name": "Graph",
19 "type": "panel",
20 "version": "5.0.0"
21 }
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 "collapse": false,
48 "collapsed": false,
49 "gridPos": {
50 "h": 1,
51 "w": 24,
52 "x": 0,
53 "y": 0
54 },
55 "id": 2,
56 "panels": [ ],
57 "repeat": null,
58 "repeatIteration": null,
59 "repeatRowId": null,
60 "showTitle": true,
61 "title": "RGW Host Detail : $rgw_servers",
62 "titleSize": "h6",
63 "type": "row"
64 },
65 {
66 "aliasColors": { },
67 "bars": false,
68 "dashLength": 10,
69 "dashes": false,
70 "datasource": "$datasource",
71 "description": "",
72 "fill": 1,
73 "fillGradient": 0,
74 "gridPos": {
75 "h": 8,
76 "w": 6,
77 "x": 0,
78 "y": 1
79 },
80 "id": 3,
81 "legend": {
82 "alignAsTable": false,
83 "avg": false,
84 "current": false,
85 "max": false,
86 "min": false,
87 "rightSide": false,
88 "show": true,
89 "sideWidth": null,
90 "total": false,
91 "values": false
92 },
93 "lines": true,
94 "linewidth": 1,
95 "links": [ ],
96 "nullPointMode": "null",
97 "percentage": false,
98 "pointradius": 5,
99 "points": false,
100 "renderer": "flot",
101 "repeat": null,
102 "seriesOverrides": [ ],
103 "spaceLength": 10,
104 "stack": false,
105 "steppedLine": false,
106 "targets": [
107 {
108 "expr": "sum by (instance_id) (rate(ceph_rgw_get_initial_lat_sum[30s]) / rate(ceph_rgw_get_initial_lat_count[30s])) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
109 "format": "time_series",
110 "intervalFactor": 1,
111 "legendFormat": "GET {{ceph_daemon}}",
112 "refId": "A"
113 },
114 {
115 "expr": "sum by (instance_id) (rate(ceph_rgw_put_initial_lat_sum[30s]) / rate(ceph_rgw_put_initial_lat_count[30s])) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
116 "format": "time_series",
117 "intervalFactor": 1,
118 "legendFormat": "PUT {{ceph_daemon}}",
119 "refId": "B"
120 }
121 ],
122 "thresholds": [ ],
123 "timeFrom": null,
124 "timeShift": null,
125 "title": "$rgw_servers GET/PUT Latencies",
126 "tooltip": {
127 "shared": true,
128 "sort": 0,
129 "value_type": "individual"
130 },
131 "type": "graph",
132 "xaxis": {
133 "buckets": null,
134 "mode": "time",
135 "name": null,
136 "show": true,
137 "values": [ ]
138 },
139 "yaxes": [
140 {
141 "format": "s",
142 "label": null,
143 "logBase": 1,
144 "max": null,
145 "min": 0,
146 "show": true
147 },
148 {
149 "format": "short",
150 "label": null,
151 "logBase": 1,
152 "max": null,
153 "min": 0,
154 "show": true
155 }
156 ]
157 },
158 {
159 "aliasColors": { },
160 "bars": false,
161 "dashLength": 10,
162 "dashes": false,
163 "datasource": "$datasource",
164 "description": "",
165 "fill": 1,
166 "fillGradient": 0,
167 "gridPos": {
168 "h": 8,
169 "w": 7,
170 "x": 6,
171 "y": 1
172 },
173 "id": 4,
174 "legend": {
175 "alignAsTable": false,
176 "avg": false,
177 "current": false,
178 "max": false,
179 "min": false,
180 "rightSide": false,
181 "show": true,
182 "sideWidth": null,
183 "total": false,
184 "values": false
185 },
186 "lines": true,
187 "linewidth": 1,
188 "links": [ ],
189 "nullPointMode": "null",
190 "percentage": false,
191 "pointradius": 5,
192 "points": false,
193 "renderer": "flot",
194 "repeat": null,
195 "seriesOverrides": [ ],
196 "spaceLength": 10,
197 "stack": false,
198 "steppedLine": false,
199 "targets": [
200 {
201 "expr": "rate(ceph_rgw_get_b[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
202 "format": "time_series",
203 "intervalFactor": 1,
204 "legendFormat": "GETs {{ceph_daemon}}",
205 "refId": "A"
206 },
207 {
208 "expr": "rate(ceph_rgw_put_b[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
209 "format": "time_series",
210 "intervalFactor": 1,
211 "legendFormat": "PUTs {{ceph_daemon}}",
212 "refId": "B"
213 }
214 ],
215 "thresholds": [ ],
216 "timeFrom": null,
217 "timeShift": null,
218 "title": "Bandwidth by HTTP Operation",
219 "tooltip": {
220 "shared": true,
221 "sort": 0,
222 "value_type": "individual"
223 },
224 "type": "graph",
225 "xaxis": {
226 "buckets": null,
227 "mode": "time",
228 "name": null,
229 "show": true,
230 "values": [ ]
231 },
232 "yaxes": [
233 {
234 "format": "bytes",
235 "label": null,
236 "logBase": 1,
237 "max": null,
238 "min": 0,
239 "show": true
240 },
241 {
242 "format": "short",
243 "label": null,
244 "logBase": 1,
245 "max": null,
246 "min": 0,
247 "show": true
248 }
249 ]
250 },
251 {
252 "aliasColors": {
253 "GETs": "#7eb26d",
254 "Other": "#447ebc",
255 "PUTs": "#eab839",
256 "Requests": "#3f2b5b",
257 "Requests Failed": "#bf1b00"
258 },
259 "bars": false,
260 "dashLength": 10,
261 "dashes": false,
262 "datasource": "$datasource",
263 "description": "",
264 "fill": 1,
265 "fillGradient": 0,
266 "gridPos": {
267 "h": 8,
268 "w": 7,
269 "x": 13,
270 "y": 1
271 },
272 "id": 5,
273 "legend": {
274 "alignAsTable": false,
275 "avg": false,
276 "current": false,
277 "max": false,
278 "min": false,
279 "rightSide": false,
280 "show": true,
281 "sideWidth": null,
282 "total": false,
283 "values": false
284 },
285 "lines": true,
286 "linewidth": 1,
287 "links": [ ],
288 "nullPointMode": "null",
289 "percentage": false,
290 "pointradius": 5,
291 "points": false,
292 "renderer": "flot",
293 "repeat": null,
294 "seriesOverrides": [ ],
295 "spaceLength": 10,
296 "stack": false,
297 "steppedLine": false,
298 "targets": [
299 {
300 "expr": "rate(ceph_rgw_failed_req[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
301 "format": "time_series",
302 "intervalFactor": 1,
303 "legendFormat": "Requests Failed {{ceph_daemon}}",
304 "refId": "A"
305 },
306 {
307 "expr": "rate(ceph_rgw_get[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
308 "format": "time_series",
309 "intervalFactor": 1,
310 "legendFormat": "GETs {{ceph_daemon}}",
311 "refId": "B"
312 },
313 {
314 "expr": "rate(ceph_rgw_put[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
315 "format": "time_series",
316 "intervalFactor": 1,
317 "legendFormat": "PUTs {{ceph_daemon}}",
318 "refId": "C"
319 },
320 {
321 "expr": "(\n rate(ceph_rgw_req[30s]) -\n (rate(ceph_rgw_get[30s]) + rate(ceph_rgw_put[30s]))\n) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
322 "format": "time_series",
323 "intervalFactor": 1,
324 "legendFormat": "Other {{ceph_daemon}}",
325 "refId": "D"
326 }
327 ],
328 "thresholds": [ ],
329 "timeFrom": null,
330 "timeShift": null,
331 "title": "HTTP Request Breakdown",
332 "tooltip": {
333 "shared": true,
334 "sort": 0,
335 "value_type": "individual"
336 },
337 "type": "graph",
338 "xaxis": {
339 "buckets": null,
340 "mode": "time",
341 "name": null,
342 "show": true,
343 "values": [ ]
344 },
345 "yaxes": [
346 {
347 "format": "short",
348 "label": null,
349 "logBase": 1,
350 "max": null,
351 "min": 0,
352 "show": true
353 },
354 {
355 "format": "short",
356 "label": null,
357 "logBase": 1,
358 "max": null,
359 "min": 0,
360 "show": true
361 }
362 ]
363 },
364 {
365 "aliasColors": {
366 "Failures": "#bf1b00",
367 "GETs": "#7eb26d",
368 "Other (HEAD,POST,DELETE)": "#447ebc",
369 "PUTs": "#eab839",
370 "Requests": "#3f2b5b"
371 },
372 "datasource": "$datasource",
373 "description": "",
374 "gridPos": {
375 "h": 8,
376 "w": 4,
377 "x": 20,
378 "y": 1
379 },
380 "id": 6,
381 "legend": {
382 "percentage": true,
383 "show": true,
384 "values": true
385 },
386 "legendType": "Under graph",
387 "pieType": "pie",
388 "targets": [
389 {
390 "expr": "rate(ceph_rgw_failed_req[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
391 "format": "time_series",
392 "intervalFactor": 1,
393 "legendFormat": "Failures {{ceph_daemon}}",
394 "refId": "A"
395 },
396 {
397 "expr": "rate(ceph_rgw_get[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
398 "format": "time_series",
399 "intervalFactor": 1,
400 "legendFormat": "GETs {{ceph_daemon}}",
401 "refId": "B"
402 },
403 {
404 "expr": "rate(ceph_rgw_put[30s]) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
405 "format": "time_series",
406 "intervalFactor": 1,
407 "legendFormat": "PUTs {{ceph_daemon}}",
408 "refId": "C"
409 },
410 {
411 "expr": "(\n rate(ceph_rgw_req[30s]) -\n (rate(ceph_rgw_get[30s]) + rate(ceph_rgw_put[30s]))\n) * on (instance_id) group_left (ceph_daemon) ceph_rgw_metadata{ceph_daemon=~\"$rgw_servers\"}",
412 "format": "time_series",
413 "intervalFactor": 1,
414 "legendFormat": "Other (DELETE,LIST) {{ceph_daemon}}",
415 "refId": "D"
416 }
417 ],
418 "title": "Workload Breakdown",
419 "type": "grafana-piechart-panel",
420 "valueName": "current"
421 }
422 ],
423 "refresh": "15s",
424 "rows": [ ],
425 "schemaVersion": 16,
426 "style": "dark",
427 "tags": [
428 "overview"
429 ],
430 "templating": {
431 "list": [
432 {
433 "current": {
434 "text": "default",
435 "value": "default"
436 },
437 "hide": 0,
438 "label": "Data Source",
439 "name": "datasource",
440 "options": [ ],
441 "query": "prometheus",
442 "refresh": 1,
443 "regex": "",
444 "type": "datasource"
445 },
446 {
447 "allValue": null,
448 "current": { },
449 "datasource": "$datasource",
450 "hide": 0,
451 "includeAll": true,
452 "label": "",
453 "multi": false,
454 "name": "rgw_servers",
455 "options": [ ],
456 "query": "label_values(ceph_rgw_metadata, ceph_daemon)",
457 "refresh": 1,
458 "regex": "",
459 "sort": 1,
460 "tagValuesQuery": "",
461 "tags": [ ],
462 "tagsQuery": "",
463 "type": "query",
464 "useTags": false
465 }
466 ]
467 },
468 "time": {
469 "from": "now-1h",
470 "to": "now"
471 },
472 "timepicker": {
473 "refresh_intervals": [
474 "5s",
475 "10s",
476 "15s",
477 "30s",
478 "1m",
479 "5m",
480 "15m",
481 "30m",
482 "1h",
483 "2h",
484 "1d"
485 ],
486 "time_options": [
487 "5m",
488 "15m",
489 "1h",
490 "6h",
491 "12h",
492 "24h",
493 "2d",
494 "7d",
495 "30d"
496 ]
497 },
498 "timezone": "",
499 "title": "RGW Instance Detail",
500 "uid": "x5ARzZtmk",
501 "version": 0
502 }