-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
in_dummy: Add interval settings. #8060
Conversation
e66be8e
to
5e3bd93
Compare
5e3bd93
to
16beb5a
Compare
time_interval
setting.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Realized after talking offline that we should add some tests for this to in_simple_systems.c
4d47234
to
3d43bed
Compare
Signed-off-by: Francisco Valente <[email protected]>
Signed-off-by: Francisco Valente <[email protected]>
Signed-off-by: Francisco Valente <[email protected]>
Signed-off-by: Francisco Valente <[email protected]>
68bad95
to
e8c09e8
Compare
Signed-off-by: Francisco Valente <[email protected]>
e8c09e8
to
7a89022
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@franciscovalentecastro Thank you! LGTM.
Those MacOS test failures look unrelated to this PR. |
Thanks @nokute78!
This means I think we need approval from one of the default folks. @edsiper @leonardo-albertovich if you are able to. |
This PR adds new
interval_sec
andinterval_nsec
settings to thein_dummy
input plugin. This settings enable to set an arbitrary time interval in which to generate dummy logs. Wheninterval_sec/nsec
is set correctly, therate
configuration is ignored.Documentation update in fluent/fluent-bit-docs#1239.
Configuration
Output Log
With this config a log message is generated every 1.5 seconds).
Valgrind Output
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-test
label to test for all targets (requires maintainer to do).Documentation
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.