Skip to main content

TelemetryBatch

Defined in: src/lib/logging/types.ts:225

Batch of telemetry data for forwarding between runtimes. Used for the web → client → server pipeline.

Properties

PropertyTypeDescriptionDefined in
batchTimestampnumberTimestamp when the batch was created.src/lib/logging/types.ts:244
logsLogRecord[]Logs to forward (may include logs not attached to spans).src/lib/logging/types.ts:234
sourceRuntimeRuntimeThe runtime that created this batch.src/lib/logging/types.ts:239
spansSpan[]Spans to forward.src/lib/logging/types.ts:229