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

v2 - Allow client-side rate limiting for logs #1185

Open
kittydoor opened this issue Jan 30, 2025 · 0 comments
Open

v2 - Allow client-side rate limiting for logs #1185

kittydoor opened this issue Jan 30, 2025 · 0 comments

Comments

@kittydoor
Copy link

I would like to collect pod (and other) logs from my multiple k8s clusters and push them to a singular lgtm stack. In doing so, there is a risk that in more experimental clusters due to an issue, a ton of logs are generated that I do not actually wish to keep all of them.

For this, I would like to be able to rate limit on alloy on some basis such as maximum logs per month, or even something such as better maximum logs per custom time span.

Is there a way to set this up in the current state of the chart?

Even if so, is it possible for a convenience helm value to be exposed by the pod-logs feature + some simple documentation on how to use it?


Additionally, though out of scope for the initial ask, it would be great to be able to set this up with more granularity on both a global basis, and a per-feature basis (pod-logs vs node-logs, pod-logs per namespace, otel logs, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant