Skip to content
Discussion options

You must be logged in to vote

There are a few useful ways to narrow this down:

  • Memory by component: start Vector with --allocation-tracing, then collect the internal_metrics source. The allocation metrics include component_allocated_bytes for current tracked allocations and component_allocated_bytes_total for cumulative allocations, tagged by component. This requires restarting with tracing enabled.
  • CPU by transform: enable measure_cpu_usage: true on the transforms you want to inspect. It exposes component_cpu_usage_ns_total through the same internal metrics source.
  • CPU call stacks from a running process: our profiling guide covers attaching Linux perf to Vector. You'll need the appropriate profiling permissions and …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
domain:observability Anything related to monitoring/observing Vector domain:performance Anything related to Vector's performance source:internal_metrics Anything `internal_metrics` source related
2 participants