@threadplane/langgraphInterfacev0.3.7

LangGraphTelemetryPayload

What a telemetry sink receives: the lifecycle moment and its properties. No content is included.

import type { LangGraphTelemetryPayload } from '@threadplane/langgraph';

Declaration

export interface LangGraphTelemetryPayload  {
  readonly event: LangGraphTelemetryEvent;
  readonly properties: {
        readonly transport: 'langgraph';
        readonly surface: 'agent';
        readonly requestType?: string;
        readonly durationMs?: number;
        readonly errorClass?: string;
    };
}

Members

event

The lifecycle moment.

readonly event: LangGraphTelemetryEvent;

properties

What is known of the moment: the request's kind, its duration, the error's kind.

readonly properties: {
        readonly transport: 'langgraph';
        readonly surface: 'agent';
        readonly requestType?: string;
        readonly durationMs?: number;
        readonly errorClass?: string;
    };