|
19 | 19 | "kind": "TimeSeriesChart", |
20 | 20 | "spec": { |
21 | 21 | "legend": { |
22 | | - "mode": "table", |
23 | | - "position": "bottom", |
24 | | - "size": "small", |
25 | | - "values": [ |
26 | | - "mean", |
27 | | - "last", |
28 | | - "max" |
29 | | - ] |
| 22 | + "position": "bottom" |
30 | 23 | }, |
31 | 24 | "visual": { |
32 | | - "areaOpacity": 0.1, |
| 25 | + "areaOpacity": 0, |
33 | 26 | "connectNulls": false, |
34 | 27 | "lineWidth": 1.25, |
35 | 28 | "pointRadius": 2.75 |
|
63 | 56 | "kind": "Panel", |
64 | 57 | "spec": { |
65 | 58 | "display": { |
66 | | - "name": "4er Errors By Bucket" |
| 59 | + "name": "Top 10 - 4er Errors By Bucket" |
67 | 60 | }, |
68 | 61 | "plugin": { |
69 | 62 | "kind": "TimeSeriesChart", |
70 | 63 | "spec": { |
71 | 64 | "legend": { |
72 | | - "mode": "table", |
73 | | - "position": "bottom", |
74 | | - "size": "small", |
75 | | - "values": [ |
76 | | - "mean", |
77 | | - "last", |
78 | | - "max" |
79 | | - ] |
| 65 | + "position": "bottom" |
80 | 66 | }, |
81 | 67 | "visual": { |
82 | | - "areaOpacity": 0.1, |
| 68 | + "areaOpacity": 0, |
83 | 69 | "connectNulls": false, |
84 | 70 | "lineWidth": 1.25, |
85 | 71 | "pointRadius": 2.75 |
|
100 | 86 | "plugin": { |
101 | 87 | "kind": "PrometheusTimeSeriesQuery", |
102 | 88 | "spec": { |
103 | | - "query": "sum by (bucket, http_status) (\n rate(radosgw_errors_detailed{http_status=~\"4[0-9][0-9]\", http_status=~\"$errors\", bucket=~\"$bucket\"}[$__rate_interval])\n)", |
| 89 | + "query": "topk(10,\n sum by (bucket, http_status) (\n rate(radosgw_errors_detailed{http_status=~\"4[0-9][0-9]\", http_status=~\"$errors\", bucket=~\"$bucket\"}[$__rate_interval])\n )\n)", |
104 | 90 | "seriesNameFormat": "{{bucket}} - {{http_status}}" |
105 | 91 | } |
106 | 92 | } |
|
119 | 105 | "kind": "TimeSeriesChart", |
120 | 106 | "spec": { |
121 | 107 | "legend": { |
122 | | - "mode": "table", |
123 | | - "position": "bottom", |
124 | | - "size": "small", |
125 | | - "values": [ |
126 | | - "mean", |
127 | | - "last", |
128 | | - "max" |
129 | | - ] |
| 108 | + "position": "bottom" |
130 | 109 | }, |
131 | 110 | "visual": { |
132 | | - "areaOpacity": 0.1, |
| 111 | + "areaOpacity": 0, |
133 | 112 | "connectNulls": false, |
134 | 113 | "lineWidth": 1.25, |
135 | 114 | "pointRadius": 2.75 |
|
169 | 148 | "kind": "TimeSeriesChart", |
170 | 149 | "spec": { |
171 | 150 | "legend": { |
172 | | - "mode": "table", |
173 | | - "position": "bottom", |
174 | | - "size": "small", |
175 | | - "values": [ |
176 | | - "mean", |
177 | | - "last", |
178 | | - "max" |
179 | | - ] |
| 151 | + "position": "bottom" |
180 | 152 | }, |
181 | 153 | "visual": { |
182 | | - "areaOpacity": 0.1, |
| 154 | + "areaOpacity": 0, |
183 | 155 | "connectNulls": false, |
184 | 156 | "lineWidth": 1.25, |
185 | 157 | "pointRadius": 2.75 |
|
213 | 185 | "kind": "Panel", |
214 | 186 | "spec": { |
215 | 187 | "display": { |
216 | | - "name": "Bucket Requests DELETE" |
| 188 | + "name": "Top 10 - Bucket Requests DELETE" |
217 | 189 | }, |
218 | 190 | "plugin": { |
219 | 191 | "kind": "TimeSeriesChart", |
|
225 | 197 | "values": [] |
226 | 198 | }, |
227 | 199 | "visual": { |
228 | | - "areaOpacity": 0.1, |
| 200 | + "areaOpacity": 0, |
229 | 201 | "connectNulls": false, |
230 | 202 | "lineWidth": 1.25, |
231 | 203 | "pointRadius": 2.75 |
|
246 | 218 | "plugin": { |
247 | 219 | "kind": "PrometheusTimeSeriesQuery", |
248 | 220 | "spec": { |
249 | | - "query": "sum by (ip) (\n rate(radosgw_requests_by_ip_bucket_method_tenant{ip=~\"$ip\", method=\"DELETE\"}[$__rate_interval])\n)", |
| 221 | + "query": "topk(10,\n sum by (ip) (\n rate(radosgw_requests_by_ip_bucket_method_tenant{ip=~\"$ip\", method=\"DELETE\"}[$__rate_interval])\n )\n)", |
250 | 222 | "seriesNameFormat": "{{ip}}" |
251 | 223 | } |
252 | 224 | } |
|
259 | 231 | "kind": "Panel", |
260 | 232 | "spec": { |
261 | 233 | "display": { |
262 | | - "name": "Bucket Requests GET" |
| 234 | + "name": "Top 10 - Bucket Requests GET" |
263 | 235 | }, |
264 | 236 | "plugin": { |
265 | 237 | "kind": "TimeSeriesChart", |
|
271 | 243 | "values": [] |
272 | 244 | }, |
273 | 245 | "visual": { |
274 | | - "areaOpacity": 0.1, |
| 246 | + "areaOpacity": 0, |
275 | 247 | "connectNulls": false, |
276 | 248 | "lineWidth": 1.25, |
277 | 249 | "pointRadius": 2.75 |
|
292 | 264 | "plugin": { |
293 | 265 | "kind": "PrometheusTimeSeriesQuery", |
294 | 266 | "spec": { |
295 | | - "query": "sum by (ip) (\n rate(radosgw_requests_by_ip_bucket_method_tenant{ip=~\"$ip\", method=\"GET\"}[$__rate_interval])\n)", |
| 267 | + "query": "topk(10,\n sum by (ip) (\n rate(radosgw_requests_by_ip_bucket_method_tenant{ip=~\"$ip\", method=\"GET\"}[$__rate_interval])\n )\n)", |
296 | 268 | "seriesNameFormat": "{{ip}}" |
297 | 269 | } |
298 | 270 | } |
|
305 | 277 | "kind": "Panel", |
306 | 278 | "spec": { |
307 | 279 | "display": { |
308 | | - "name": "Bucket Requests PUT" |
| 280 | + "name": "Top 10 - Bucket Requests PUT" |
309 | 281 | }, |
310 | 282 | "plugin": { |
311 | 283 | "kind": "TimeSeriesChart", |
|
317 | 289 | "values": [] |
318 | 290 | }, |
319 | 291 | "visual": { |
320 | | - "areaOpacity": 0.1, |
| 292 | + "areaOpacity": 0, |
321 | 293 | "connectNulls": false, |
322 | 294 | "lineWidth": 1.25, |
323 | 295 | "pointRadius": 2.75 |
|
338 | 310 | "plugin": { |
339 | 311 | "kind": "PrometheusTimeSeriesQuery", |
340 | 312 | "spec": { |
341 | | - "query": "sum by (ip) (\n rate(radosgw_requests_by_ip_bucket_method_tenant{ip=~\"$ip\", method=\"PUT\"}[$__rate_interval])\n)", |
| 313 | + "query": "topk(10,\n sum by (ip) (\n rate(radosgw_requests_by_ip_bucket_method_tenant{ip=~\"$ip\", method=\"PUT\"}[$__rate_interval])\n )\n)", |
342 | 314 | "seriesNameFormat": "{{ip}}" |
343 | 315 | } |
344 | 316 | } |
|
351 | 323 | "kind": "Panel", |
352 | 324 | "spec": { |
353 | 325 | "display": { |
354 | | - "name": "Bucket Requests per Client IP" |
| 326 | + "name": "Top 10 - Bucket Requests per Client IP" |
355 | 327 | }, |
356 | 328 | "plugin": { |
357 | 329 | "kind": "TimeSeriesChart", |
|
363 | 335 | "values": [] |
364 | 336 | }, |
365 | 337 | "visual": { |
366 | | - "areaOpacity": 0.1, |
| 338 | + "areaOpacity": 0, |
367 | 339 | "connectNulls": false, |
368 | 340 | "lineWidth": 1.25, |
369 | 341 | "pointRadius": 2.75 |
|
384 | 356 | "plugin": { |
385 | 357 | "kind": "PrometheusTimeSeriesQuery", |
386 | 358 | "spec": { |
387 | | - "query": "sum by (ip, bucket, method) (\n rate(radosgw_requests_by_ip_bucket_method_tenant{ip=~\"$ip\", bucket=~\"$bucket\"}[$__rate_interval])\n)", |
| 359 | + "query": "topk(10,\n sum by (ip, bucket, method) (\n rate(radosgw_requests_by_ip_bucket_method_tenant{ip=~\"$ip\", bucket=~\"$bucket\"}[$__rate_interval])\n )\n)", |
388 | 360 | "seriesNameFormat": "{{ip}} - {{bucket}}" |
389 | 361 | } |
390 | 362 | } |
|
409 | 381 | "values": [] |
410 | 382 | }, |
411 | 383 | "visual": { |
412 | | - "areaOpacity": 0.1, |
| 384 | + "areaOpacity": 0, |
413 | 385 | "connectNulls": false, |
414 | 386 | "lineWidth": 1.25, |
415 | 387 | "pointRadius": 2.75 |
|
455 | 427 | "values": [] |
456 | 428 | }, |
457 | 429 | "visual": { |
458 | | - "areaOpacity": 0.1, |
| 430 | + "areaOpacity": 0, |
459 | 431 | "connectNulls": false, |
460 | 432 | "lineWidth": 1.25, |
461 | 433 | "pointRadius": 2.75 |
|
498 | 470 | "position": "bottom" |
499 | 471 | }, |
500 | 472 | "visual": { |
501 | | - "areaOpacity": 0.1, |
| 473 | + "areaOpacity": 0, |
502 | 474 | "connectNulls": false, |
503 | 475 | "lineWidth": 1.25, |
504 | 476 | "pointRadius": 2.75 |
|
532 | 504 | "kind": "Panel", |
533 | 505 | "spec": { |
534 | 506 | "display": { |
535 | | - "name": "Requests per User and IP" |
| 507 | + "name": "Top 10 - Requests per User and IP" |
536 | 508 | }, |
537 | 509 | "plugin": { |
538 | 510 | "kind": "TimeSeriesChart", |
|
541 | 513 | "position": "right" |
542 | 514 | }, |
543 | 515 | "visual": { |
544 | | - "areaOpacity": 0.1, |
| 516 | + "areaOpacity": 0, |
545 | 517 | "connectNulls": false, |
546 | 518 | "lineWidth": 1.25, |
547 | 519 | "pointRadius": 2.75 |
|
562 | 534 | "plugin": { |
563 | 535 | "kind": "PrometheusTimeSeriesQuery", |
564 | 536 | "spec": { |
565 | | - "query": "sum by (user, ip) (\n rate(radosgw_requests_by_ip{ip=~\"$ip\", user=~\"$user\"}[$__rate_interval])\n)", |
| 537 | + "query": "topk(10,\n sum by (user, ip) (\n rate(radosgw_requests_by_ip{ip=~\"$ip\", user=~\"$user\"}[$__rate_interval])\n )\n)", |
566 | 538 | "seriesNameFormat": "{{ip}} - {{user}}" |
567 | 539 | } |
568 | 540 | } |
|
586 | 558 | { |
587 | 559 | "x": 0, |
588 | 560 | "y": 0, |
589 | | - "width": 12, |
590 | | - "height": 10, |
| 561 | + "width": 9, |
| 562 | + "height": 9, |
591 | 563 | "content": { |
592 | 564 | "$ref": "#/spec/panels/4erErrors" |
593 | 565 | } |
594 | 566 | }, |
595 | 567 | { |
596 | | - "x": 12, |
597 | | - "y": 10, |
598 | | - "width": 12, |
| 568 | + "x": 9, |
| 569 | + "y": 9, |
| 570 | + "width": 8, |
599 | 571 | "height": 10, |
600 | 572 | "content": { |
601 | 573 | "$ref": "#/spec/panels/4erErrors-3" |
602 | 574 | } |
603 | 575 | }, |
604 | 576 | { |
605 | | - "x": 12, |
| 577 | + "x": 9, |
606 | 578 | "y": 0, |
607 | | - "width": 12, |
608 | | - "height": 10, |
| 579 | + "width": 8, |
| 580 | + "height": 9, |
609 | 581 | "content": { |
610 | 582 | "$ref": "#/spec/panels/4erErrors-4" |
611 | 583 | } |
612 | 584 | }, |
613 | 585 | { |
614 | 586 | "x": 0, |
615 | | - "y": 10, |
616 | | - "width": 12, |
| 587 | + "y": 9, |
| 588 | + "width": 9, |
617 | 589 | "height": 10, |
618 | 590 | "content": { |
619 | 591 | "$ref": "#/spec/panels/4erErrors-2" |
|
0 commit comments