Skip to content

Add support for OpenTelemetry eBPF Profiler profile type#6261

Merged
metalmatze merged 1 commit into
mainfrom
claude/add-otel-cpu-profile-VFrFA
Mar 20, 2026
Merged

Add support for OpenTelemetry eBPF Profiler profile type#6261
metalmatze merged 1 commit into
mainfrom
claude/add-otel-cpu-profile-VFrFA

Conversation

@brancz

@brancz brancz commented Mar 20, 2026

Copy link
Copy Markdown
Member

Summary

This PR adds support for the OpenTelemetry eBPF Profiler as a profile type option in the profile selector, enabling users to view on-CPU profiling data from this profiler.

Key Changes

  • useAutoQuerySelector.ts: Added fallback logic to detect and select the go_opentelemetry_io_ebpf_profiler profile type when the primary parca_agent profile type is not available
  • ProfileTypeSelector/index.tsx: Registered the new profile type in the well-known profiles map with display name "On-CPU" and appropriate help text

Implementation Details

The changes follow the existing pattern for profile type detection and registration:

  • The auto-query selector now checks for the OpenTelemetry eBPF Profiler profile type as a secondary option after checking for parca_agent
  • The profile type is properly labeled and documented in the UI for user clarity

https://claude.ai/code/session_01KiXtEvLCHpRVxPe7bPX7Yf

Register go_opentelemetry_io_ebpf_profiler:samples:count:cpu:nanoseconds:delta
as a well-known profile type named "On-CPU" and add it to the auto-selection
priority list.

https://claude.ai/code/session_01KiXtEvLCHpRVxPe7bPX7Yf
@alwaysmeticulous

alwaysmeticulous Bot commented Mar 20, 2026

Copy link
Copy Markdown

✅ Meticulous spotted 0 visual differences across 315 screens tested: view results.

Meticulous evaluated ~4 hours of user flows against your PR.

Expected differences? Click here. Last updated for commit b03bafe. This comment will update as new commits are pushed.

@metalmatze
metalmatze enabled auto-merge (squash) March 20, 2026 15:33
@metalmatze
metalmatze merged commit 7ac20f5 into main Mar 20, 2026
37 checks passed
@brancz
brancz deleted the claude/add-otel-cpu-profile-VFrFA branch March 20, 2026 15:56
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.

3 participants