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

chore(otel): support ingesting offcpu #3875

Merged
merged 8 commits into from
Feb 5, 2025
Merged

chore(otel): support ingesting offcpu #3875

merged 8 commits into from
Feb 5, 2025

Conversation

korniltsev
Copy link
Collaborator

For off cpu profiles, the ebpf profiler sends timestamps and times in each sample.
Each sample has different Value file length. it seems impossible to represent this in pprof, so I'm aggregating them to a single value.
Furthermore use a separate off_cpu instead of process_cpu profile name.

@korniltsev korniltsev requested a review from a team as a code owner January 31, 2025 04:46
Copy link
Collaborator

@kolesnikovae kolesnikovae Feb 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we "hide" the json extension to trick github? .fixture, .bin, .golden

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If by hiding you mean to make github not show the diff, then I'd prefer seeing the diff.
If you mean something else, then I'm not understanding it.

Copy link
Contributor

@marcsanmi marcsanmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

pkg/ingester/otlp/convert.go Show resolved Hide resolved
pkg/ingester/otlp/convert.go Show resolved Hide resolved
@korniltsev korniltsev enabled auto-merge (squash) February 5, 2025 06:46
@korniltsev korniltsev merged commit 71187cc into main Feb 5, 2025
19 checks passed
@korniltsev korniltsev deleted the otel-offcpu branch February 5, 2025 06:50
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