Open
Description
Is your feature request related to a problem? Please describe.
https://github.com/fluent/fluent-bit/blob/master/scripts/rate_limit.lua has a script to throttle logs based on the count.
There are certain situations where it is necessary to rate limit based on the size of logs. E.g. Allow a container to publish a maximum of 10MB of logs per minute.
Describe the solution you'd like
Add a Lua function to the script in https://github.com/fluent/fluent-bit/blob/master/scripts/rate_limit to rate limit based on size
Describe alternatives you've considered
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels