]>
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", | |
18 | "id": "singlestat", | |
19 | "name": "Singlestat", | |
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": 1557393917915, |
11fdf7f2 TL |
41 | "links": [], |
42 | "panels": [ | |
43 | { | |
44 | "cacheTimeout": null, | |
45 | "colorBackground": false, | |
46 | "colorValue": false, | |
47 | "colors": [ | |
48 | "#299c46", | |
49 | "rgba(237, 129, 40, 0.89)", | |
50 | "#d44a3a" | |
51 | ], | |
52 | "datasource": "$datasource", | |
53 | "format": "none", | |
54 | "gauge": { | |
55 | "maxValue": 100, | |
56 | "minValue": 0, | |
57 | "show": false, | |
58 | "thresholdLabels": false, | |
59 | "thresholdMarkers": true | |
60 | }, | |
61 | "gridPos": { | |
62 | "h": 5, | |
63 | "w": 4, | |
64 | "x": 0, | |
65 | "y": 0 | |
66 | }, | |
67 | "id": 5, | |
68 | "interval": null, | |
69 | "links": [], | |
70 | "mappingType": 1, | |
71 | "mappingTypes": [ | |
72 | { | |
73 | "name": "value to text", | |
74 | "value": 1 | |
75 | }, | |
76 | { | |
77 | "name": "range to text", | |
78 | "value": 2 | |
79 | } | |
80 | ], | |
81 | "maxDataPoints": 100, | |
82 | "nullPointMode": "connected", | |
83 | "nullText": null, | |
84 | "postfix": "", | |
85 | "postfixFontSize": "50%", | |
86 | "prefix": "", | |
87 | "prefixFontSize": "50%", | |
88 | "rangeMaps": [ | |
89 | { | |
90 | "from": "null", | |
91 | "text": "N/A", | |
92 | "to": "null" | |
93 | } | |
94 | ], | |
95 | "sparkline": { | |
96 | "fillColor": "rgba(31, 118, 189, 0.18)", | |
97 | "full": false, | |
98 | "lineColor": "rgb(31, 120, 193)", | |
99 | "show": false | |
100 | }, | |
101 | "tableColumn": "", | |
102 | "targets": [ | |
103 | { | |
104 | "expr": "count(sum by (hostname) (ceph_osd_metadata))", | |
105 | "format": "time_series", | |
106 | "instant": true, | |
107 | "intervalFactor": 1, | |
108 | "refId": "A" | |
109 | } | |
110 | ], | |
111 | "thresholds": "", | |
112 | "title": "OSD Hosts", | |
113 | "type": "singlestat", | |
114 | "valueFontSize": "80%", | |
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 | "decimals": 0, | |
135 | "description": "Average CPU busy across all hosts (OSD, RGW, MON etc) within the cluster", | |
136 | "format": "percentunit", | |
137 | "gauge": { | |
138 | "maxValue": 100, | |
139 | "minValue": 0, | |
140 | "show": false, | |
141 | "thresholdLabels": false, | |
142 | "thresholdMarkers": true | |
143 | }, | |
144 | "gridPos": { | |
145 | "h": 5, | |
146 | "w": 4, | |
147 | "x": 4, | |
148 | "y": 0 | |
149 | }, | |
150 | "id": 6, | |
151 | "interval": null, | |
152 | "links": [], | |
153 | "mappingType": 1, | |
154 | "mappingTypes": [ | |
155 | { | |
156 | "name": "value to text", | |
157 | "value": 1 | |
158 | }, | |
159 | { | |
160 | "name": "range to text", | |
161 | "value": 2 | |
162 | } | |
163 | ], | |
164 | "maxDataPoints": 100, | |
165 | "nullPointMode": "connected", | |
166 | "nullText": null, | |
167 | "postfix": "", | |
168 | "postfixFontSize": "50%", | |
169 | "prefix": "", | |
170 | "prefixFontSize": "50%", | |
171 | "rangeMaps": [ | |
172 | { | |
173 | "from": "null", | |
174 | "text": "N/A", | |
175 | "to": "null" | |
176 | } | |
177 | ], | |
178 | "sparkline": { | |
179 | "fillColor": "rgba(31, 118, 189, 0.18)", | |
180 | "full": false, | |
181 | "lineColor": "rgb(31, 120, 193)", | |
182 | "show": false | |
183 | }, | |
184 | "tableColumn": "", | |
185 | "targets": [ | |
186 | { | |
187 | "expr": "avg(\n 1 - (\n avg by(instance) \n (irate(node_cpu_seconds_total{mode='idle',instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"}[1m]) or\n irate(node_cpu{mode='idle',instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"}[1m]))\n )\n )", | |
188 | "format": "time_series", | |
189 | "instant": true, | |
190 | "intervalFactor": 1, | |
191 | "refId": "A" | |
192 | } | |
193 | ], | |
194 | "thresholds": "", | |
195 | "title": "AVG CPU Busy", | |
196 | "type": "singlestat", | |
197 | "valueFontSize": "80%", | |
198 | "valueMaps": [ | |
199 | { | |
200 | "op": "=", | |
201 | "text": "N/A", | |
202 | "value": "null" | |
203 | } | |
204 | ], | |
205 | "valueName": "current" | |
206 | }, | |
207 | { | |
208 | "cacheTimeout": null, | |
209 | "colorBackground": false, | |
210 | "colorValue": false, | |
211 | "colors": [ | |
212 | "#299c46", | |
213 | "rgba(237, 129, 40, 0.89)", | |
214 | "#d44a3a" | |
215 | ], | |
216 | "datasource": "$datasource", | |
217 | "decimals": 0, | |
218 | "description": "Average Memory Usage across all hosts in the cluster (excludes buffer/cache usage)", | |
219 | "format": "percentunit", | |
220 | "gauge": { | |
221 | "maxValue": 100, | |
222 | "minValue": 0, | |
223 | "show": false, | |
224 | "thresholdLabels": false, | |
225 | "thresholdMarkers": true | |
226 | }, | |
227 | "gridPos": { | |
228 | "h": 5, | |
229 | "w": 4, | |
230 | "x": 8, | |
231 | "y": 0 | |
232 | }, | |
233 | "id": 9, | |
234 | "interval": null, | |
235 | "links": [], | |
236 | "mappingType": 1, | |
237 | "mappingTypes": [ | |
238 | { | |
239 | "name": "value to text", | |
240 | "value": 1 | |
241 | }, | |
242 | { | |
243 | "name": "range to text", | |
244 | "value": 2 | |
245 | } | |
246 | ], | |
247 | "maxDataPoints": 100, | |
248 | "nullPointMode": "connected", | |
249 | "nullText": null, | |
250 | "postfix": "", | |
251 | "postfixFontSize": "50%", | |
252 | "prefix": "", | |
253 | "prefixFontSize": "50%", | |
254 | "rangeMaps": [ | |
255 | { | |
256 | "from": "null", | |
257 | "text": "N/A", | |
258 | "to": "null" | |
259 | } | |
260 | ], | |
261 | "sparkline": { | |
262 | "fillColor": "rgba(31, 118, 189, 0.18)", | |
263 | "full": false, | |
264 | "lineColor": "rgb(31, 120, 193)", | |
265 | "show": false | |
266 | }, | |
267 | "tableColumn": "", | |
268 | "targets": [ | |
269 | { | |
270 | "expr": "avg (((node_memory_MemTotal{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"} or node_memory_MemTotal_bytes{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"})- (\n (node_memory_MemFree{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"} or node_memory_MemFree_bytes{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"}) + \n (node_memory_Cached{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"} or node_memory_Cached_bytes{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"}) + \n (node_memory_Buffers{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"} or node_memory_Buffers_bytes{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"}) +\n (node_memory_Slab{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"} or node_memory_Slab_bytes{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"})\n )) /\n (node_memory_MemTotal{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"} or node_memory_MemTotal_bytes{instance=~\"[[osd_hosts]]|[[rgw_hosts]]|[[mon_hosts]]|[[mds_hosts]].*\"} ))", | |
271 | "format": "time_series", | |
272 | "instant": true, | |
273 | "intervalFactor": 1, | |
274 | "refId": "A" | |
275 | } | |
276 | ], | |
277 | "thresholds": "", | |
278 | "title": "AVG RAM Utilization", | |
279 | "type": "singlestat", | |
280 | "valueFontSize": "80%", | |
281 | "valueMaps": [ | |
282 | { | |
283 | "op": "=", | |
284 | "text": "N/A", | |
285 | "value": "null" | |
286 | } | |
287 | ], | |
288 | "valueName": "current" | |
289 | }, | |
290 | { | |
291 | "cacheTimeout": null, | |
292 | "colorBackground": false, | |
293 | "colorValue": false, | |
294 | "colors": [ | |
295 | "#299c46", | |
296 | "rgba(237, 129, 40, 0.89)", | |
297 | "#d44a3a" | |
298 | ], | |
299 | "datasource": "$datasource", | |
300 | "description": "IOPS Load at the device as reported by the OS on all OSD hosts", | |
301 | "format": "none", | |
302 | "gauge": { | |
303 | "maxValue": 100, | |
304 | "minValue": 0, | |
305 | "show": false, | |
306 | "thresholdLabels": false, | |
307 | "thresholdMarkers": true | |
308 | }, | |
309 | "gridPos": { | |
310 | "h": 5, | |
311 | "w": 4, | |
312 | "x": 12, | |
313 | "y": 0 | |
314 | }, | |
315 | "id": 2, | |
316 | "interval": null, | |
317 | "links": [], | |
318 | "mappingType": 1, | |
319 | "mappingTypes": [ | |
320 | { | |
321 | "name": "value to text", | |
322 | "value": 1 | |
323 | }, | |
324 | { | |
325 | "name": "range to text", | |
326 | "value": 2 | |
327 | } | |
328 | ], | |
329 | "maxDataPoints": 100, | |
330 | "nullPointMode": "connected", | |
331 | "nullText": null, | |
332 | "postfix": "", | |
333 | "postfixFontSize": "50%", | |
334 | "prefix": "", | |
335 | "prefixFontSize": "50%", | |
336 | "rangeMaps": [ | |
337 | { | |
338 | "from": "null", | |
339 | "text": "N/A", | |
340 | "to": "null" | |
341 | } | |
342 | ], | |
343 | "sparkline": { | |
344 | "fillColor": "rgba(31, 118, 189, 0.18)", | |
345 | "full": false, | |
346 | "lineColor": "rgb(31, 120, 193)", | |
347 | "show": false | |
348 | }, | |
349 | "tableColumn": "", | |
350 | "targets": [ | |
351 | { | |
352 | "expr": "sum ((irate(node_disk_reads_completed{instance=~\"($osd_hosts).*\"}[5m]) or irate(node_disk_reads_completed_total{instance=~\"($osd_hosts).*\"}[5m]) ) + \n(irate(node_disk_writes_completed{instance=~\"($osd_hosts).*\"}[5m]) or irate(node_disk_writes_completed_total{instance=~\"($osd_hosts).*\"}[5m])))", | |
353 | "format": "time_series", | |
354 | "instant": true, | |
355 | "intervalFactor": 1, | |
356 | "refId": "A" | |
357 | } | |
358 | ], | |
359 | "thresholds": "", | |
360 | "title": "Physical IOPS", | |
361 | "type": "singlestat", | |
362 | "valueFontSize": "80%", | |
363 | "valueMaps": [ | |
364 | { | |
365 | "op": "=", | |
366 | "text": "N/A", | |
367 | "value": "null" | |
368 | } | |
369 | ], | |
370 | "valueName": "current" | |
371 | }, | |
372 | { | |
373 | "cacheTimeout": null, | |
374 | "colorBackground": false, | |
375 | "colorValue": false, | |
376 | "colors": [ | |
377 | "#299c46", | |
378 | "rgba(237, 129, 40, 0.89)", | |
379 | "#d44a3a" | |
380 | ], | |
381 | "datasource": "$datasource", | |
382 | "description": "Average Disk utilization for all OSD data devices (i.e. excludes journal/WAL)", | |
383 | "format": "percent", | |
384 | "gauge": { | |
385 | "maxValue": 100, | |
386 | "minValue": 0, | |
387 | "show": false, | |
388 | "thresholdLabels": false, | |
389 | "thresholdMarkers": true | |
390 | }, | |
391 | "gridPos": { | |
392 | "h": 5, | |
393 | "w": 4, | |
394 | "x": 16, | |
395 | "y": 0 | |
396 | }, | |
397 | "id": 20, | |
398 | "interval": null, | |
399 | "links": [], | |
400 | "mappingType": 1, | |
401 | "mappingTypes": [ | |
402 | { | |
403 | "name": "value to text", | |
404 | "value": 1 | |
405 | }, | |
406 | { | |
407 | "name": "range to text", | |
408 | "value": 2 | |
409 | } | |
410 | ], | |
411 | "maxDataPoints": 100, | |
412 | "nullPointMode": "connected", | |
413 | "nullText": null, | |
414 | "postfix": "", | |
415 | "postfixFontSize": "50%", | |
416 | "prefix": "", | |
417 | "prefixFontSize": "50%", | |
418 | "rangeMaps": [ | |
419 | { | |
420 | "from": "null", | |
421 | "text": "N/A", | |
422 | "to": "null" | |
423 | } | |
424 | ], | |
425 | "sparkline": { | |
426 | "fillColor": "rgba(31, 118, 189, 0.18)", | |
427 | "full": false, | |
428 | "lineColor": "rgb(31, 120, 193)", | |
429 | "show": false | |
430 | }, | |
431 | "tableColumn": "", | |
432 | "targets": [ | |
433 | { | |
eafe8130 | 434 | "expr" : "avg (\n ((irate(node_disk_io_time_ms[5m]) / 10 ) or\n (irate(node_disk_io_time_seconds_total[5m]) * 100)\n ) *\n on(instance, device) label_replace(label_replace(ceph_disk_occupation{instance=~\"($osd_hosts).*\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"(.*)\")\n)", |
11fdf7f2 TL |
435 | "format": "time_series", |
436 | "instant": true, | |
437 | "intervalFactor": 1, | |
438 | "refId": "A" | |
439 | } | |
440 | ], | |
441 | "thresholds": "", | |
442 | "title": "AVG Disk Utilization", | |
443 | "type": "singlestat", | |
444 | "valueFontSize": "80%", | |
445 | "valueMaps": [ | |
446 | { | |
447 | "op": "=", | |
448 | "text": "N/A", | |
449 | "value": "null" | |
450 | } | |
451 | ], | |
452 | "valueName": "current" | |
453 | }, | |
454 | { | |
455 | "cacheTimeout": null, | |
456 | "colorBackground": false, | |
457 | "colorValue": false, | |
458 | "colors": [ | |
459 | "#299c46", | |
460 | "rgba(237, 129, 40, 0.89)", | |
461 | "#d44a3a" | |
462 | ], | |
463 | "datasource": "$datasource", | |
464 | "decimals": 0, | |
465 | "description": "Total send/receive network load across all hosts in the ceph cluster", | |
466 | "format": "bytes", | |
467 | "gauge": { | |
468 | "maxValue": 100, | |
469 | "minValue": 0, | |
470 | "show": false, | |
471 | "thresholdLabels": false, | |
472 | "thresholdMarkers": true | |
473 | }, | |
474 | "gridPos": { | |
475 | "h": 5, | |
476 | "w": 4, | |
477 | "x": 20, | |
478 | "y": 0 | |
479 | }, | |
480 | "id": 18, | |
481 | "interval": null, | |
482 | "links": [], | |
483 | "mappingType": 1, | |
484 | "mappingTypes": [ | |
485 | { | |
486 | "name": "value to text", | |
487 | "value": 1 | |
488 | }, | |
489 | { | |
490 | "name": "range to text", | |
491 | "value": 2 | |
492 | } | |
493 | ], | |
494 | "maxDataPoints": 100, | |
495 | "nullPointMode": "connected", | |
496 | "nullText": null, | |
497 | "postfix": "", | |
498 | "postfixFontSize": "50%", | |
499 | "prefix": "", | |
500 | "prefixFontSize": "50%", | |
501 | "rangeMaps": [ | |
502 | { | |
503 | "from": "null", | |
504 | "text": "N/A", | |
505 | "to": "null" | |
506 | } | |
507 | ], | |
508 | "sparkline": { | |
509 | "fillColor": "rgba(31, 118, 189, 0.18)", | |
510 | "full": false, | |
511 | "lineColor": "rgb(31, 120, 193)", | |
512 | "show": false | |
513 | }, | |
514 | "tableColumn": "", | |
515 | "targets": [ | |
516 | { | |
517 | "expr": "sum (\n irate(node_network_receive_bytes{instance=~\"($osd_hosts|mon_hosts|mds_hosts|rgw_hosts).*\",device!=\"lo\"}[1m]) or\n irate(node_network_receive_bytes_total{instance=~\"($osd_hosts|mon_hosts|mds_hosts|rgw_hosts).*\",device!=\"lo\"}[1m])\n ) +\nsum (\n irate(node_network_transmit_bytes{instance=~\"($osd_hosts|mon_hosts|mds_hosts|rgw_hosts).*\",device!=\"lo\"}[1m]) or\n irate(node_network_transmit_bytes_total{instance=~\"($osd_hosts|mon_hosts|mds_hosts|rgw_hosts).*\",device!=\"lo\"}[1m])\n )", | |
518 | "format": "time_series", | |
519 | "instant": true, | |
520 | "intervalFactor": 1, | |
521 | "refId": "A" | |
522 | } | |
523 | ], | |
524 | "thresholds": "", | |
525 | "title": "Network Load", | |
526 | "type": "singlestat", | |
527 | "valueFontSize": "80%", | |
528 | "valueMaps": [ | |
529 | { | |
530 | "op": "=", | |
531 | "text": "N/A", | |
532 | "value": "null" | |
533 | } | |
534 | ], | |
535 | "valueName": "current" | |
536 | }, | |
537 | { | |
538 | "aliasColors": {}, | |
539 | "bars": false, | |
540 | "dashLength": 10, | |
541 | "dashes": false, | |
542 | "datasource": "$datasource", | |
543 | "description": "Show the top 10 busiest hosts by cpu", | |
81eedcae | 544 | "fill": 0, |
11fdf7f2 TL |
545 | "gridPos": { |
546 | "h": 9, | |
547 | "w": 12, | |
548 | "x": 0, | |
549 | "y": 5 | |
550 | }, | |
551 | "id": 13, | |
552 | "legend": { | |
553 | "avg": false, | |
554 | "current": false, | |
555 | "max": false, | |
556 | "min": false, | |
557 | "show": false, | |
558 | "total": false, | |
559 | "values": false | |
560 | }, | |
561 | "lines": true, | |
562 | "linewidth": 1, | |
563 | "links": [], | |
564 | "nullPointMode": "null", | |
565 | "percentage": false, | |
566 | "pointradius": 5, | |
567 | "points": false, | |
568 | "renderer": "flot", | |
569 | "seriesOverrides": [], | |
570 | "spaceLength": 10, | |
81eedcae | 571 | "stack": false, |
11fdf7f2 TL |
572 | "steppedLine": false, |
573 | "targets": [ | |
574 | { | |
575 | "expr": "topk(10,( 1 - (\n avg by(instance) \n (irate(node_cpu_seconds_total{mode='idle',instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"}[1m]) or\n irate(node_cpu{mode='idle',instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\"}[1m]))\n )\n )\n)", | |
576 | "format": "time_series", | |
577 | "intervalFactor": 1, | |
578 | "legendFormat": "{{instance}}", | |
579 | "refId": "A" | |
580 | } | |
581 | ], | |
582 | "thresholds": [], | |
583 | "timeFrom": null, | |
eafe8130 | 584 | "timeRegions": [], |
11fdf7f2 TL |
585 | "timeShift": null, |
586 | "title": "CPU Busy - Top 10 Hosts", | |
587 | "tooltip": { | |
588 | "shared": true, | |
eafe8130 | 589 | "sort": 2, |
11fdf7f2 TL |
590 | "value_type": "individual" |
591 | }, | |
592 | "type": "graph", | |
593 | "xaxis": { | |
594 | "buckets": null, | |
595 | "mode": "time", | |
596 | "name": null, | |
597 | "show": true, | |
598 | "values": [] | |
599 | }, | |
600 | "yaxes": [ | |
601 | { | |
602 | "decimals": 1, | |
81eedcae | 603 | "format": "percent", |
11fdf7f2 TL |
604 | "label": null, |
605 | "logBase": 1, | |
81eedcae | 606 | "max": "100", |
11fdf7f2 | 607 | "min": "0", |
81eedcae | 608 | "show": true |
11fdf7f2 TL |
609 | }, |
610 | { | |
611 | "format": "short", | |
612 | "label": null, | |
613 | "logBase": 1, | |
614 | "max": null, | |
615 | "min": null, | |
616 | "show": false | |
617 | } | |
81eedcae TL |
618 | ], |
619 | "yaxis": { | |
620 | "align": false, | |
621 | "alignLevel": null | |
622 | } | |
11fdf7f2 TL |
623 | }, |
624 | { | |
625 | "aliasColors": {}, | |
626 | "bars": false, | |
627 | "dashLength": 10, | |
628 | "dashes": false, | |
629 | "datasource": "$datasource", | |
630 | "description": "Top 10 hosts by network load", | |
81eedcae | 631 | "fill": 0, |
11fdf7f2 TL |
632 | "gridPos": { |
633 | "h": 9, | |
634 | "w": 12, | |
635 | "x": 12, | |
636 | "y": 5 | |
637 | }, | |
638 | "id": 19, | |
639 | "legend": { | |
640 | "avg": false, | |
641 | "current": false, | |
642 | "max": false, | |
643 | "min": false, | |
644 | "show": false, | |
645 | "total": false, | |
646 | "values": false | |
647 | }, | |
648 | "lines": true, | |
649 | "linewidth": 1, | |
650 | "links": [], | |
651 | "nullPointMode": "null", | |
652 | "percentage": false, | |
653 | "pointradius": 5, | |
654 | "points": false, | |
655 | "renderer": "flot", | |
656 | "seriesOverrides": [], | |
657 | "spaceLength": 10, | |
81eedcae | 658 | "stack": false, |
11fdf7f2 TL |
659 | "steppedLine": false, |
660 | "targets": [ | |
661 | { | |
81eedcae | 662 | "expr": "topk(10, (sum by(instance) (\n (\n irate(node_network_receive_bytes{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\",device!=\"lo\"}[1m]) or\n irate(node_network_receive_bytes_total{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\",device!=\"lo\"}[1m])\n ) +\n (\n irate(node_network_transmit_bytes{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\",device!=\"lo\"}[1m]) or\n irate(node_network_transmit_bytes_total{instance=~\"($osd_hosts|$mon_hosts|$mds_hosts|$rgw_hosts).*\",device!=\"lo\"}[1m])\n ))\n )\n)", |
11fdf7f2 TL |
663 | "format": "time_series", |
664 | "intervalFactor": 1, | |
665 | "legendFormat": "{{instance}}", | |
666 | "refId": "A" | |
667 | } | |
668 | ], | |
669 | "thresholds": [], | |
670 | "timeFrom": null, | |
eafe8130 | 671 | "timeRegions": [], |
11fdf7f2 TL |
672 | "timeShift": null, |
673 | "title": "Network Load - Top 10", | |
674 | "tooltip": { | |
675 | "shared": true, | |
eafe8130 | 676 | "sort": 2, |
11fdf7f2 TL |
677 | "value_type": "individual" |
678 | }, | |
679 | "type": "graph", | |
680 | "xaxis": { | |
681 | "buckets": null, | |
682 | "mode": "time", | |
683 | "name": null, | |
684 | "show": true, | |
685 | "values": [] | |
686 | }, | |
687 | "yaxes": [ | |
688 | { | |
689 | "decimals": 1, | |
81eedcae | 690 | "format": "Bps", |
11fdf7f2 TL |
691 | "label": null, |
692 | "logBase": 1, | |
693 | "max": null, | |
694 | "min": "0", | |
695 | "show": true | |
696 | }, | |
697 | { | |
698 | "format": "short", | |
699 | "label": null, | |
700 | "logBase": 1, | |
701 | "max": null, | |
702 | "min": null, | |
703 | "show": false | |
704 | } | |
81eedcae TL |
705 | ], |
706 | "yaxis": { | |
707 | "align": false, | |
708 | "alignLevel": null | |
709 | } | |
11fdf7f2 TL |
710 | } |
711 | ], | |
712 | "refresh": "10s", | |
713 | "schemaVersion": 16, | |
714 | "style": "dark", | |
715 | "tags": [], | |
716 | "templating": { | |
717 | "list": [ | |
718 | { | |
719 | "current": { | |
11fdf7f2 TL |
720 | "text": "default", |
721 | "value": "default" | |
722 | }, | |
723 | "hide": 0, | |
724 | "label": "Data Source", | |
725 | "name": "datasource", | |
726 | "options": [], | |
727 | "query": "prometheus", | |
728 | "refresh": 1, | |
729 | "regex": "", | |
81eedcae | 730 | "skipUrlSync": false, |
11fdf7f2 TL |
731 | "type": "datasource" |
732 | }, | |
733 | { | |
734 | "allValue": "", | |
735 | "current": {}, | |
736 | "datasource": "$datasource", | |
737 | "hide": 2, | |
738 | "includeAll": true, | |
739 | "label": null, | |
740 | "multi": false, | |
741 | "name": "osd_hosts", | |
742 | "options": [], | |
743 | "query": "label_values(ceph_disk_occupation, instance)", | |
744 | "refresh": 1, | |
745 | "regex": "([^.]*).*", | |
81eedcae | 746 | "skipUrlSync": false, |
11fdf7f2 TL |
747 | "sort": 1, |
748 | "tagValuesQuery": "", | |
749 | "tags": [], | |
750 | "tagsQuery": "ceph", | |
751 | "type": "query", | |
752 | "useTags": false | |
753 | }, | |
754 | { | |
755 | "allValue": null, | |
756 | "current": {}, | |
757 | "datasource": "$datasource", | |
758 | "hide": 2, | |
759 | "includeAll": true, | |
760 | "label": null, | |
761 | "multi": false, | |
762 | "name": "mon_hosts", | |
763 | "options": [], | |
764 | "query": "label_values(ceph_mon_metadata, ceph_daemon)", | |
765 | "refresh": 1, | |
766 | "regex": "mon.(.*)", | |
81eedcae | 767 | "skipUrlSync": false, |
11fdf7f2 TL |
768 | "sort": 0, |
769 | "tagValuesQuery": "", | |
770 | "tags": [], | |
771 | "tagsQuery": "", | |
772 | "type": "query", | |
773 | "useTags": false | |
774 | }, | |
775 | { | |
776 | "allValue": null, | |
777 | "current": {}, | |
778 | "datasource": "$datasource", | |
779 | "hide": 2, | |
780 | "includeAll": true, | |
781 | "label": null, | |
782 | "multi": false, | |
783 | "name": "mds_hosts", | |
784 | "options": [], | |
785 | "query": "label_values(ceph_mds_inodes, ceph_daemon)", | |
786 | "refresh": 1, | |
787 | "regex": "mds.(.*)", | |
81eedcae | 788 | "skipUrlSync": false, |
11fdf7f2 TL |
789 | "sort": 0, |
790 | "tagValuesQuery": "", | |
791 | "tags": [], | |
792 | "tagsQuery": "", | |
793 | "type": "query", | |
794 | "useTags": false | |
795 | }, | |
796 | { | |
797 | "allValue": null, | |
798 | "current": {}, | |
799 | "datasource": "$datasource", | |
800 | "hide": 2, | |
801 | "includeAll": true, | |
802 | "label": null, | |
803 | "multi": false, | |
804 | "name": "rgw_hosts", | |
805 | "options": [], | |
806 | "query": "label_values(ceph_rgw_qlen, ceph_daemon)", | |
807 | "refresh": 1, | |
808 | "regex": "rgw.(.*)", | |
81eedcae | 809 | "skipUrlSync": false, |
11fdf7f2 TL |
810 | "sort": 0, |
811 | "tagValuesQuery": "", | |
812 | "tags": [], | |
813 | "tagsQuery": "", | |
814 | "type": "query", | |
815 | "useTags": false | |
816 | } | |
817 | ] | |
818 | }, | |
819 | "time": { | |
820 | "from": "now-1h", | |
821 | "to": "now" | |
822 | }, | |
823 | "timepicker": { | |
824 | "refresh_intervals": [ | |
825 | "5s", | |
826 | "10s", | |
827 | "30s", | |
828 | "1m", | |
829 | "5m", | |
830 | "15m", | |
831 | "30m", | |
832 | "1h", | |
833 | "2h", | |
834 | "1d" | |
835 | ], | |
836 | "time_options": [ | |
837 | "5m", | |
838 | "15m", | |
839 | "1h", | |
840 | "6h", | |
841 | "12h", | |
842 | "24h", | |
843 | "2d", | |
844 | "7d", | |
845 | "30d" | |
846 | ] | |
847 | }, | |
848 | "timezone": "", | |
849 | "title": "Host Overview", | |
81eedcae TL |
850 | "uid": "y0KGL0iZz", |
851 | "version": 3 | |
11fdf7f2 | 852 | } |