Skip to content

perf(sdk-metrics): optionally capture active context for sync instruments - #6848

Merged
pichlermarc merged 3 commits into
open-telemetry:mainfrom
legendecas:attribute-processor-context
Jul 1, 2026
Merged

perf(sdk-metrics): optionally capture active context for sync instruments#6848
pichlermarc merged 3 commits into
open-telemetry:mainfrom
legendecas:attribute-processor-context

Merge branch 'main' into attribute-processor-context

d5c460f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 1, 2026 in 1s

95.58% (+0.00%) compared to dddbc0e

View this Pull Request on Codecov

95.58% (+0.00%) compared to dddbc0e

Details

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6848   +/-   ##
=======================================
  Coverage   95.58%   95.58%           
=======================================
  Files         388      388           
  Lines       13152    13163   +11     
  Branches     3001     3004    +3     
=======================================
+ Hits        12571    12582   +11     
  Misses        581      581           
Files with missing lines Coverage Δ
packages/sdk-metrics/src/Instruments.ts 96.07% <100.00%> (ø)
...ckages/sdk-metrics/src/state/AsyncMetricStorage.ts 100.00% <100.00%> (ø)
...ages/sdk-metrics/src/state/DeltaMetricProcessor.ts 100.00% <100.00%> (ø)
packages/sdk-metrics/src/state/MeterSharedState.ts 98.33% <ø> (-0.03%) ⬇️
...dk-metrics/src/state/MultiWritableMetricStorage.ts 100.00% <100.00%> (ø)
...ackages/sdk-metrics/src/state/SyncMetricStorage.ts 100.00% <100.00%> (ø)
🚀 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.