method TracerHost.injectContext
TracerHost.injectContext(context: TelemetryContext): Record<string, string>

Injects a context into outgoing headers.

Parameters

Return Type

Record<string, string>

Usage

import { type TracerHost } from "telemetry-plugin/src/index.ts";