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