-
Notifications
You must be signed in to change notification settings - Fork 6k
pkg/config: add buffer config for plugin audit log #63651
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
Conversation
e9fcc3b
to
d841a21
Compare
Let me upload the dependency cache/mirror. |
/retest |
Done. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #63651 +/- ##
================================================
+ Coverage 72.7810% 73.2939% +0.5129%
================================================
Files 1842 1842
Lines 498054 498554 +500
================================================
+ Hits 362489 365410 +2921
+ Misses 113580 111291 -2289
+ Partials 21985 21853 -132
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
d841a21
to
4b6a7fe
Compare
/retest |
LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benmeadowcroft, cfzjywxk, djshow832, YangKeao The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
What problem does this PR solve?
See #63650
-->
Issue Number: close #63650
Problem Summary:
What changed and how does it work?
This PR introduces new configuration options to control the buffering behavior of the audit log plugin:
instance.plugin_audit_log_flush_interval
— Defines the interval at which buffered audit logs are flushed to the plugin.instance. plugin_audit_log_buffer_size
— Sets the maximum number of audit log entries that can be buffered before a flush is triggered.So that:
instance
section.Check List
Tests
(To be added)
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.