Skip to content

RingBuffer for Logs #2056

@linear-code

Description

@linear-code

Logs are currently backed by a regular array without any limit. This can lead to high memory consumption for processes that produce a lot of logs and potentially cause OOMs.

To prevent this, we should introduce the RingBuffer for the LogsAggregator when the log_flush_threshold flag is not used.

Metadata

Metadata

Assignees

Labels

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions