Repository navigation
|
Hello, Vector team! In Kubernetes clusters under my control, some installations of Vector consume a lot of CPU and memory (3 cores and 7Gb RAM top). Probably, the problem is with the configuration, but I want to find exactly where. Do you have any tips or tricks how I can shed more light on why vector has such an appetite? It would be nice if there is the way to extract the date from a running process, but not required. |
Answered by
pront
Oct 29, 2026
Replies: 1 comment
|
There are a few useful ways to narrow this down:
I verified the allocation and transform CPU metrics locally on Vector 0.60.0. The pipeline debugging guide also covers checking component throughput and inspecting events with |
0 replies
Answer selected by
pront
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a few useful ways to narrow this down:
--allocation-tracing, then collect theinternal_metricssource. The allocation metrics includecomponent_allocated_bytesfor current tracked allocations andcomponent_allocated_bytes_totalfor cumulative allocations, tagged by component. This requires restarting with tracing enabled.measure_cpu_usage: trueon the transforms you want to inspect. It exposescomponent_cpu_usage_ns_totalthrough the same internal metrics source.perfto Vector. You'll need the appropriate profiling permissions and …