module@warp-drive/utilities/handlers
ts
function addTraceHeader(headers): Headers;Defined in: -private/handlers/utils.ts:55
Adds the X-Amzn-Trace-Id header to support observability tooling around request routing.
This makes use of the TAB_ID and TAB_ASSIGNED to enable tracking the browser tab of origin across multiple requests.
Follows the template: Root=1-${now}-${uuidv4};TabId=1-${epochSeconds}-${tab-uuid}