-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 CLI args for snapshot intervals #2849
Add CLI args for snapshot intervals #2849
Conversation
e7e6031
to
fb96525
Compare
Overall, this looks good. Do you have a use-case for separating (and having to add two new flags, albeit optional), or can we stick with just one for both? I can definitely see the use case for changing the interval but not why you would have separate ones. |
For my use-case we can stick with one flag only. It makes sense to me. I wasn't sure the two always go hand-in-hand. Some ideas for a name for a single flag:
|
That's a good point @gotjosh :) |
👍 on the idea of this name. |
Signed-off-by: sed-i <[email protected]>
Co-authored-by: Simon Pasquier <[email protected]> Signed-off-by: sed-i <[email protected]>
Signed-off-by: sed-i <[email protected]>
ce1fd7b
to
99f48e3
Compare
Changed to |
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.
lgtm
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.
Sadly, I can't kick off the CI but @simonpasquier was here to do so.
LGTM.
thanks! |
* Add CLI args for snapshot intervals Signed-off-by: sed-i <[email protected]> * Apply suggestions from code review Co-authored-by: Simon Pasquier <[email protected]> Signed-off-by: sed-i <[email protected]> * use same flag for silences and nflogs intervals Signed-off-by: sed-i <[email protected]> Co-authored-by: Simon Pasquier <[email protected]> Signed-off-by: delar <[email protected]>
This PR adds two new CLI args to support custom snapshot intervals for nflogs and silences.
Fixes #2660.