Commit e42097b
authored
in_tail: add "tracked_file_count" metrics to see how many log files are being tracked (#4980)
**Which issue(s) this PR fixes**:
Fixes #
**What this PR does / why we need it**:
This PR will add a `tracked_file_count` field to the value returned by
statistics method.
This will make it easy to see how many log files are being tracked.
**Docs Changes**:
It appears that there is no documentation at all on plugin-specific
metrics.
Maybe we should add document about in_tail's metrics to
https://docs.fluentd.org/input/tail.
**Release Note**:
Same as the title.
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>1 parent d632efc commit e42097b
2 files changed
+36
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
213 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
| |||
474 | 478 | | |
475 | 479 | | |
476 | 480 | | |
| 481 | + | |
477 | 482 | | |
478 | 483 | | |
479 | 484 | | |
| |||
814 | 819 | | |
815 | 820 | | |
816 | 821 | | |
| 822 | + | |
817 | 823 | | |
818 | 824 | | |
819 | 825 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3443 | 3443 | | |
3444 | 3444 | | |
3445 | 3445 | | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
| 3450 | + | |
| 3451 | + | |
| 3452 | + | |
| 3453 | + | |
| 3454 | + | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
| 3458 | + | |
| 3459 | + | |
| 3460 | + | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
| 3466 | + | |
| 3467 | + | |
| 3468 | + | |
| 3469 | + | |
| 3470 | + | |
| 3471 | + | |
| 3472 | + | |
| 3473 | + | |
3446 | 3474 | | |
0 commit comments