Skip to content

Conversation

@jra3
Copy link
Contributor

@jra3 jra3 commented Oct 23, 2025

Adds ProfileCollectionConfig proto message to enable disk-based profiler configuration in system-agent.

Design: Single event per profiler instance for simplicity and clarity.

Fields:

  • event_name: Perf event to sample (cpu-cycles, cpu-clock, etc.) - Required
  • sample_period: Sample frequency (cycles or nanoseconds) - Optional, smart defaults
  • interval_seconds: Profile aggregation interval - Optional, default 60s
  • max_stack_depth: Stack trace depth limit - Future use
  • process_filters: Process filtering - Future use

Usage: Enables LLM-generated configs for automated profiler activation.

Related:

Adds ProfileCollectionConfig proto message to enable config-driven profiler
activation. Design uses single event per profiler instance for simplicity.

Fields:
- event_name: Perf event to sample (cpu-cycles, cpu-clock, etc.)
- sample_period: Sample frequency (cycles or nanoseconds)
- interval_seconds: Profile aggregation interval
- max_stack_depth: Stack trace depth limit (future)
- process_filters: Process filtering (future)

Related: system-agent ENG-2262, GitHub issue #235
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

Successfully merging this pull request may close these issues.

1 participant