Skip to content
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

all: Limit amounts of logs from the agent itself #5

Open
jiping-s opened this issue Jun 3, 2021 · 0 comments
Open

all: Limit amounts of logs from the agent itself #5

jiping-s opened this issue Jun 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jiping-s
Copy link
Collaborator

jiping-s commented Jun 3, 2021

Background

Excessive amounts of logs from the agent could be triggered by I/O error (ex: disk quota) or broken input logs. In the worst case, we could assume one malformed input log would at least trigger one warning level log from the agent. This is unacceptable as it could easily cause TBs of logs in a few minutes.

What to do

Set up log limit per component and apply it to the smallest unit possible: a TCP connection, a pipelines (not sub-pipelines) or a set of metric keys. The limit should be configurable, for example:

  • max_logging_count: 500
  • max_logging_duration: 1h (reset counter afterwards)
@jiping-s jiping-s added the enhancement New feature or request label Jun 3, 2021
@jiping-s jiping-s changed the title all: limit amounts of logs from the agent itself all: Limit amounts of logs from the agent itself Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant