captureStreamEnded

Capture a stream-end event with optional duration for a plain object with nonblank provider and model, suppressing failures. Omitted transport becomes unknown; the Node client applies validation, opt-outs, and sampling.

import { captureStreamEnded } from '@threadplane/telemetry/node';

Declaration · overload 1

export declare function captureStreamEnded(input: StreamTelemetry): Promise<void>;

Parameters

input · required
StreamTelemetry

Returns

Promise<void>