You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add internal setting for additional writer headers (#2689)
For testing it's desirable to be able to pass additional headers with
the trace requests made to the agent. With this ability we can propagate
tokens which can be used to associate traces with test cases when
running snapshot tests in subprocesses (like in #2640).
I debated having the flag be read at run-time instead of
initialization-time but opted against it as reading from the env is not
cheap (on the order of 1µs):
>>> %timeit os.environ.get("")
1.23 µs ± 49.6 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
0 commit comments