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