Skip to main content

workers/host/telemetryBridge

@arolariu/website


@arolariu/website / workers/host/telemetryBridge

workers/host/telemetryBridge

Fileoverview

Parent-side telemetry bridge for the Web Worker foundation.

Remarks

Wraps each RPC call in a span (debug log for now; OTel tracer is wired by RFC 1001's frontend instrumentation as a follow-up) and ingests WorkerEvents sent over the side channel. Logs forward to an injectable logger; default is console.*.

The bridge is the single place where worker telemetry meets the site's observability story. Replacing console.* with the OTel client API is a non-breaking change — the bridge surface stays the same.

Type Aliases

Functions

// was this page useful?