Function: captureTrace()
captureTrace():
StoredTrace|undefined
Defined in: packages/messaging/src/trace.ts:73
Returns
StoredTrace | undefined
The active span's traceparent (and tracestate when the propagator wrote
one), for storing with a row that will be published later; undefined when there
is no active span or no SDK started, so telemetry off stores nothing.