Skip to content

feat(sdk-node): wire up tracer_provider.sampler from declarative config - #6847

Merged
trentm merged 2 commits into
open-telemetry:mainfrom
MikeGoldsmith:mike/6506-sampler-from-config
Jun 30, 2026
Merged

feat(sdk-node): wire up tracer_provider.sampler from declarative config#6847
trentm merged 2 commits into
open-telemetry:mainfrom
MikeGoldsmith:mike/6506-sampler-from-config

drop experimental sampler key special-case per Trent's nit

64b011d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 30, 2026 in 0s

95.58% (+0.01%) compared to ec5aa93

View this Pull Request on Codecov

95.58% (+0.01%) compared to ec5aa93

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.58%. Comparing base (ec5aa93) to head (64b011d).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6847      +/-   ##
==========================================
+ Coverage   95.56%   95.58%   +0.01%     
==========================================
  Files         386      388       +2     
  Lines       13088    13159      +71     
  Branches     2998     3002       +4     
==========================================
+ Hits        12508    12578      +70     
- Misses        580      581       +1     
Files with missing lines Coverage Δ
...ental/packages/opentelemetry-sdk-node/src/start.ts 97.05% <100.00%> (+0.02%) ⬆️
...ental/packages/opentelemetry-sdk-node/src/utils.ts 96.51% <100.00%> (-0.17%) ⬇️

... and 5 files with indirect coverage changes

🚀 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.