Function: injectTrace()
injectTrace(
headers):void
Defined in: packages/messaging/src/trace.ts:45
Writes the active span's traceparent (and tracestate) into a header map. With no
SDK started the propagator is the no-op one and nothing is written, which is why
telemetry off changes no message.
Parameters
headers
Record<string, string>
The headers about to be sent. Mutated.
Returns
void