Skip to content

Fix request buffer lookup when instrumenting servers#1377

Merged
grcevski merged 1 commit into
open-telemetry:mainfrom
rafaelroquetto:sort_e_key
Feb 27, 2026
Merged

Fix request buffer lookup when instrumenting servers#1377
grcevski merged 1 commit into
open-telemetry:mainfrom
rafaelroquetto:sort_e_key

Conversation

@rafaelroquetto
Copy link
Copy Markdown
Contributor

When instrumenting servers, it is possible that their egress codepath now run through tpinjector as a result of the new iterator introduced by #1366

There was a bug in k_tracer in which we forgot to sort the egress_key, thus never finding the buffer setup by sk_msg, which in turn made us never see the end of the request/response.

Checklist

@rafaelroquetto rafaelroquetto requested a review from a team as a code owner February 26, 2026 23:10
Copy link
Copy Markdown
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

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

LGTM!

@grcevski grcevski merged commit dda9420 into open-telemetry:main Feb 27, 2026
63 checks passed
@rafaelroquetto rafaelroquetto deleted the sort_e_key branch February 27, 2026 00:56
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.75%. Comparing base (55f2804) to head (2673b67).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1377   +/-   ##
=======================================
  Coverage   43.75%   43.75%           
=======================================
  Files         310      310           
  Lines       33772    33772           
=======================================
  Hits        14777    14777           
  Misses      18044    18044           
  Partials      951      951           
Flag Coverage Δ
integration-test 21.59% <ø> (ø)
integration-test-arm 0.00% <ø> (ø)
integration-test-vm-x86_64-5.15.152 0.00% <ø> (ø)
integration-test-vm-x86_64-6.10.6 0.00% <ø> (ø)
k8s-integration-test 2.32% <ø> (+<0.01%) ⬆️
oats-test 0.00% <ø> (ø)
unittests 44.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

NimrodAvni78 pushed a commit to coralogix/opentelemetry-ebpf-instrumentation that referenced this pull request Mar 1, 2026
@MrAlias MrAlias added this to the v0.6.0 milestone Mar 2, 2026
@MrAlias MrAlias mentioned this pull request Mar 5, 2026
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