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

Improve kubernetes_logs source performance #14965

Open
splitice opened this issue Oct 26, 2022 · 2 comments
Open

Improve kubernetes_logs source performance #14965

splitice opened this issue Oct 26, 2022 · 2 comments
Labels
source: kubernetes_logs Anything `kubernetes_logs` source related type: feature A value-adding code addition that introduce new functionality.

Comments

@splitice
Copy link
Contributor

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

We are collecting logs for an active kubernetes cluster and would like to see improved performance.

~1k lines/sec per 1 vCPU appears to be the max peak

Attempted Solutions

  • VRL reduction of the logged line

Proposal

  1. Provide an option to reduce the data inserted into the log line at the source level
  2. Potentially offer some form of acceleration for the kubernetes object (perhaps caching could be done wile the object is already in json from the cache?)

References

No response

Version

0.24.1

@splitice splitice added the type: feature A value-adding code addition that introduce new functionality. label Oct 26, 2022
@jszwedko jszwedko added the source: kubernetes_logs Anything `kubernetes_logs` source related label Oct 26, 2022
@jszwedko jszwedko changed the title Kubernetes: Attribute / label control Improve kubernetes_logs source performance Oct 26, 2022
@splitice
Copy link
Contributor Author

@jszwedko I think this also needs a performance domain tag.

I really hope that some time soon theres a performance targetting milestone. The resource usage of vector within our stack is really starting to get excessive (very comparable to the system it replaced. logstash). I'll be opening a general issue soon too with some performance profiling data.

@splitice
Copy link
Contributor Author

splitice commented Jan 17, 2023

I created my issue on performance as a discussion as I feel its more appropriate #15977

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: kubernetes_logs Anything `kubernetes_logs` source related type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants