New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add log throttling in files based on group rules #3535
Add log throttling in files based on group rules #3535
Commits on Apr 6, 2022
-
in_tail_with_throttle: Add ThrottleInput Plugin
Signed-off-by: Pranjal Gupta <pranjal.gupta2@ibm.com>
-
in_tail_with_throttle: Add configuration and rate limiting tests
Signed-off-by: Pranjal Gupta <pranjal.gupta2@ibm.com>
-
in_tail_with_throttle: Fix
test_io_handler
to use Tailwatcher rathe……r than string Signed-off-by: Pranjal Gupta <pranjal.gupta2@ibm.com>
-
in_tail_with_throttle: Remove nested method and modify indentation
Signed-off-by: Pranjal Gupta <pranjal.gupta2@ibm.com>
-
in_tail: Add group based log collection from
in_tail_with_throttle
Signed-off-by: Pranjal Gupta <pranjal.gupta2@ibm.com>
-
in_tail: Add
group.match
parameter for specifying generic rulesSigned-off-by: Pranjal Gupta <pranjal.gupta2@ibm.com>
-
Signed-off-by: Pranjal Gupta <pranjal.gupta2@ibm.com>
Commits on May 6, 2022
-
in_tail: Extract group watcher related codes to in_tail/group_watcher.rb
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Remove needless spaces
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Rename group_watcher.rb to group_watch.rb
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Add {add,remove}_group_watcher to GroupWatch module
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Remove a needless blank line
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Rename add_group_watcher & remove_group_watcher
add_group_watcher -> add_path_to_group_watcher remove_group_watcher -> remove_path_from_group_watcher And simplify them. Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Make sure to return nil early in add_path_to_group_watcher
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Commits on May 8, 2022
-
in_tai: Simplify detecting group watcher's limit
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Fix warnings of group watcher tests
/home/aho/Projects/Fluentd/fluentd/test/plugin/test_in_tail.rb:183: warning: assigned but unused variable - d /home/aho/Projects/Fluentd/fluentd/test/plugin/test_in_tail.rb:205: warning: assigned but unused variable - d /home/aho/Projects/Fluentd/fluentd/test/plugin/test_in_tail.rb:220: warning: assigned but unused variable - d /home/aho/Projects/Fluentd/fluentd/test/plugin/test_in_tail.rb:385: warning: ambiguous first argument; put parentheses or a space even after `-' operator /home/aho/Projects/Fluentd/fluentd/lib/fluent/plugin/in_tail/group_watch.rb:123: warning: assigned but unused variable - e Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Commits on May 14, 2022
-
in_tail: Add throttling_is_enabled?
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Remove a needless default value of throttling_is_enabled?
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Commits on May 15, 2022
-
test_in_tail: Move group config tests to separated sub_test_case
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Commits on May 16, 2022
-
test_in_tail: Reduce test time of group watch tests
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Commits on May 17, 2022
-
test_in_tail: Fix inappropriate variable name
safety_mergin -> safety_ratio Signed-off-by: Takuro Ashie <ashie@clear-code.com>
-
in_tail: Fix wrong lower bound of group watch limit
Signed-off-by: Takuro Ashie <ashie@clear-code.com>