Commit b51ea8c
test(node): Add test verifying startNewTrace respects tracesSampleRate
Ensures TraceFlags.NONE on the remote span context does not cause
the sampler to inherit a false sampling decision from the parent.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a02337f commit b51ea8c
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2157 | 2157 | | |
2158 | 2158 | | |
2159 | 2159 | | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
2160 | 2171 | | |
2161 | 2172 | | |
2162 | 2173 | | |
| |||
0 commit comments