Repository navigation
Commit 22a607b
Revert "fix(OpenTelemetry): capture span filter decision eagerly"
This reverts commit 0ec4953.
The eager snapshot read IsAllDataRequested/Recorded in OnStart, which
runs before OTel instrumentation filters (e.g. HttpClient Filter) clear
those flags, so filtered spans were captured as unfiltered. That traded
a minor GC-timing edge for a worse late-filtering regression. Back to
reading the flags lazily from the weakly-fused Activity.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0ec4953 commit 22a607b
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 144 | + | |
| 145 | + | |
149 | 146 | | |
150 | 147 | | |
151 | 148 | | |
| |||
0 commit comments