forked from fluent/fluent-bit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bin: upon CONT unix signal, dump internal status to stdout
Now Fluent Bit receives a CONT unix signal, it will dump internals about memory usage and chunks to stdout, e.g: kill -CONT `pidof fluent-bit` output: [engine] caught signal (SIGCONT) [2020/03/18 18:21:49] Fluent Bit Dump ===== Input ===== syslog_debug (syslog) │ ├─ status │ └─ overlimit : no │ ├─ mem size : 0b (0 bytes) │ └─ mem limit : 61.0M (64000000 bytes) │ ├─ tasks │ ├─ total tasks : 0 │ ├─ new : 0 │ ├─ running : 0 │ └─ size : 0b (0 bytes) │ └─ chunks └─ total chunks : 0 ├─ up chunks : 0 ├─ down chunks: 0 └─ busy chunks: 0 ├─ size : 0b (0 bytes) └─ size err: 0 storage_backlog.1 (storage_backlog) │ ├─ status │ └─ overlimit : no │ ├─ mem size : 0b (0 bytes) │ └─ mem limit : 0b (0 bytes) │ ├─ tasks │ ├─ total tasks : 17 │ ├─ new : 16 │ ├─ running : 1 │ └─ size : 32.2M (33714420 bytes) │ └─ chunks └─ total chunks : 17 ├─ up chunks : 17 ├─ down chunks: 0 └─ busy chunks: 17 ├─ size : 32.2M (33714420 bytes) └─ size err: 0 ===== Storage Layer ===== total chunks : 26 ├─ mem chunks : 0 └─ fs chunks : 26 ├─ up : 17 Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
- Loading branch information
Showing
3 changed files
with
12 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters