Skip to content

Remove libpf.Trace.Hash#673

Merged
fabled merged 2 commits intoopen-telemetry:mainfrom
fabled:tt-remove-libpftrace-hash
Aug 14, 2025
Merged

Remove libpf.Trace.Hash#673
fabled merged 2 commits intoopen-telemetry:mainfrom
fabled:tt-remove-libpftrace-hash

Conversation

@fabled
Copy link
Copy Markdown
Contributor

@fabled fabled commented Aug 1, 2025

The Hash ID is not needed by any of the protocols in the tree. Only the APM integration needs a trace Hash as a correlation ID so keep the algorithm there.

Reduces memory usage and avoid calculating the hash as it is mostly unneeded.

This is legacy now. The Hash ID is not needed by any of the protocols.
Only the APM integration needs a trace Hash as a correlation ID so keep
the algorithm there.
@fabled fabled force-pushed the tt-remove-libpftrace-hash branch from 66070bc to b9e7d54 Compare August 1, 2025 08:17
@fabled fabled marked this pull request as ready for review August 13, 2025 06:30
@fabled fabled requested review from a team as code owners August 13, 2025 06:30
@fabled fabled merged commit b4a95e6 into open-telemetry:main Aug 14, 2025
28 checks passed
florianl added a commit to florianl/opentelemetry-collector-contrib that referenced this pull request Aug 15, 2025
libpf.TraceHash got removed with open-telemetry/opentelemetry-ebpf-profiler#673

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
fabled added a commit to fabled/opentelemetry-ebpf-profiler that referenced this pull request Aug 26, 2025
This reverts commit b4a95e6.

The Hash was used as a key to not aggregate traces together.
Add acomment about that.

Fixes open-telemetry#732
fabled added a commit that referenced this pull request Aug 26, 2025
gnurizen added a commit to parca-dev/opentelemetry-ebpf-profiler that referenced this pull request Sep 18, 2025
NOTE: Changes skipped via --skip option (had conflicts)
gnurizen added a commit to parca-dev/opentelemetry-ebpf-profiler that referenced this pull request Sep 18, 2025
NOTE: Changes skipped via --skip option (had conflicts)
gnurizen added a commit to parca-dev/opentelemetry-ebpf-profiler that referenced this pull request Sep 18, 2025
NOTE: Changes skipped via --skip option (had conflicts)
gnurizen added a commit to parca-dev/opentelemetry-ebpf-profiler that referenced this pull request Sep 18, 2025
NOTE: Changes skipped via --skip option (had conflicts)
gnurizen added a commit to parca-dev/opentelemetry-ebpf-profiler that referenced this pull request Sep 30, 2025
…#734)

NOTE: Changes skipped via --skip option (had conflicts)
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