Commit e5c1623
authored
output: add metrics for dropped oldest chunk count (#4981)
**Which issue(s) this PR fixes**:
Fixes #
**What this PR does / why we need it**:
When `overflow_action drop_oldest_chunk` is configured, the oldest
buffer chunk will be automatically discarded when the total buffer
capacity is exhausted.
This PR introduces a new metric, `drop_oldest_chunk_count`, which counts
the number of discarded chunks.
**Docs Changes**:
fluent/fluentd-docs-gitbook#582
**Release Note**:
Same as the title
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>1 parent d80dc46 commit e5c1623
File tree
4 files changed
+18
-1
lines changed- lib/fluent/plugin
- test/plugin
4 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
259 | 260 | | |
260 | 261 | | |
261 | 262 | | |
| 263 | + | |
262 | 264 | | |
263 | 265 | | |
264 | 266 | | |
| |||
977 | 979 | | |
978 | 980 | | |
979 | 981 | | |
| 982 | + | |
980 | 983 | | |
981 | 984 | | |
982 | 985 | | |
| |||
1575 | 1578 | | |
1576 | 1579 | | |
1577 | 1580 | | |
| 1581 | + | |
1578 | 1582 | | |
1579 | 1583 | | |
1580 | 1584 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
| |||
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
| 331 | + | |
329 | 332 | | |
330 | 333 | | |
331 | 334 | | |
| |||
349 | 352 | | |
350 | 353 | | |
351 | 354 | | |
| 355 | + | |
352 | 356 | | |
353 | 357 | | |
354 | 358 | | |
| |||
424 | 428 | | |
425 | 429 | | |
426 | 430 | | |
| 431 | + | |
427 | 432 | | |
428 | 433 | | |
429 | 434 | | |
| |||
439 | 444 | | |
440 | 445 | | |
441 | 446 | | |
| 447 | + | |
442 | 448 | | |
443 | 449 | | |
444 | 450 | | |
| |||
578 | 584 | | |
579 | 585 | | |
580 | 586 | | |
| 587 | + | |
581 | 588 | | |
582 | 589 | | |
583 | 590 | | |
| |||
643 | 650 | | |
644 | 651 | | |
645 | 652 | | |
| 653 | + | |
646 | 654 | | |
647 | 655 | | |
648 | 656 | | |
| |||
693 | 701 | | |
694 | 702 | | |
695 | 703 | | |
| 704 | + | |
696 | 705 | | |
697 | 706 | | |
698 | 707 | | |
| |||
825 | 834 | | |
826 | 835 | | |
827 | 836 | | |
| 837 | + | |
828 | 838 | | |
829 | 839 | | |
830 | 840 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
| 231 | + | |
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
| |||
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| 245 | + | |
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
0 commit comments