Skip to content

bpf: nodejs: set trace context in shared map via async callbacks#1454

Merged
mmat11 merged 2 commits into
open-telemetry:mainfrom
coralogix:matt/nodejs-shared
Mar 5, 2026
Merged

bpf: nodejs: set trace context in shared map via async callbacks#1454
mmat11 merged 2 commits into
open-telemetry:mainfrom
coralogix:matt/nodejs-shared

Conversation

@mmat11
Copy link
Copy Markdown
Contributor

@mmat11 mmat11 commented Mar 4, 2026

Similarly to how done for the Go runtime, also add trace context for NodeJS runtime to the shared map

Checklist

@mmat11 mmat11 requested a review from rafaelroquetto March 4, 2026 15:54
@mmat11 mmat11 requested a review from a team as a code owner March 4, 2026 15:54
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.90%. Comparing base (5f7d955) to head (fc7b23c).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1454   +/-   ##
=======================================
  Coverage   43.89%   43.90%           
=======================================
  Files         313      313           
  Lines       34216    34216           
=======================================
+ Hits        15019    15021    +2     
+ Misses      18220    18217    -3     
- Partials      977      978    +1     
Flag Coverage Δ
integration-test 21.55% <ø> (ø)
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.28% <ø> (-0.01%) ⬇️
oats-test 0.00% <ø> (ø)
unittests 44.89% <ø> (+<0.01%) ⬆️

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.

Copy link
Copy Markdown
Contributor

@rafaelroquetto rafaelroquetto left a comment

Choose a reason for hiding this comment

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

just a nit, feel free to disregard!

LGTM

Comment thread bpf/generictracer/nodejs.c
Comment thread bpf/generictracer/nodejs.c Outdated
Signed-off-by: Mattia Meleleo <mattia.meleleo@coralogix.com>
@mmat11 mmat11 force-pushed the matt/nodejs-shared branch from 531ed88 to a78e4e5 Compare March 5, 2026 11:20
@mmat11 mmat11 force-pushed the matt/nodejs-shared branch from a78e4e5 to fc7b23c Compare March 5, 2026 11:30
@rafaelroquetto
Copy link
Copy Markdown
Contributor

Looks awesome!

@mmat11 mmat11 merged commit 4a7d9a3 into open-telemetry:main Mar 5, 2026
79 of 81 checks passed
@mmat11 mmat11 deleted the matt/nodejs-shared branch March 5, 2026 17:05
@MrAlias MrAlias added this to the v0.6.0 milestone Mar 5, 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