-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(dev): Enable internal_log_rate_limit
by default
#22899
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
base: master
Are you sure you want to change the base?
Conversation
@@ -129,7 +129,7 @@ where | |||
let mut limit_visitor = LimitVisitor::default(); | |||
event.record(&mut limit_visitor); | |||
|
|||
let limit_exists = limit_visitor.limit.unwrap_or(false); | |||
let limit_exists = limit_visitor.limit.unwrap_or(true); |
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.
This is where the default is changed
internal_log_rate_limit
by default
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.
This looks good, thank you @shivanthzen!
Let's also add a small section here: https://github.com/vectordotdev/vector/blob/master/src/cli.rs#L180
|
Hmm, some of the tests failed because the rate limit value is not defined 🤔 in those cases. Let me check that. |
Thank you. Feel free to ping me if you need anything. |
Summary
Fixes: #22410
Change Type
Is this a breaking change?
How did you test this PR?
Unit tests
Does this PR include user facing changes?
Notes
@vectordotdev/vector
to reach out to us regarding this PR.pre-push
hook, please see this template.cargo fmt --all
cargo clippy --workspace --all-targets -- -D warnings
cargo nextest run --workspace
(alternatively, you can runcargo test --all
)./scripts/check_changelog_fragments.sh
git merge origin master
andgit push
.Cargo.lock
), pleaserun
cargo vdev build licenses
to regenerate the license inventory and commit the changes (if any). More details here.References