Skip to content

sdk/resource: add WithContext variants for Default and Environment (#7808) - #8051

Merged
dmathieu merged 6 commits into
open-telemetry:mainfrom
ajuijas:feature/plumb-context-env-7808
Mar 17, 2026
Merged

sdk/resource: add WithContext variants for Default and Environment (#7808)#8051
dmathieu merged 6 commits into
open-telemetry:mainfrom
ajuijas:feature/plumb-context-env-7808

Merge branch 'main' into feature/plumb-context-env-7808

9a679ad
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 17, 2026 in 0s

81.6% (+0.0%) compared to 08efeb4

View this Pull Request on Codecov

81.6% (+0.0%) compared to 08efeb4

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.6%. Comparing base (08efeb4) to head (9a679ad).

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #8051   +/-   ##
=====================================
  Coverage   81.6%   81.6%           
=====================================
  Files        304     304           
  Lines      23448   23452    +4     
=====================================
+ Hits       19138   19143    +5     
+ Misses      3928    3927    -1     
  Partials     382     382           
Files with missing lines Coverage Δ
sdk/resource/resource.go 80.8% <100.0%> (+0.6%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.