StreamTelemetry

Explicit Node stream metadata requiring provider and model, with an optional transport and duration in milliseconds.

import type { StreamTelemetry } from '@threadplane/telemetry/node';

Declaration

export interface StreamTelemetry  {
  durationMs?: number;
  model: string;
  provider: string;
  transport?: string;
}

Members

durationMs

durationMs?: number;

model

model: string;

provider

provider: string;

transport

Runtime transport when known; legacy calls without it report unknown.

transport?: string;