openlit
Version:
OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications, facilitating the integration of observability into your GenAI-driven projects
13 lines (12 loc) • 666 B
TypeScript
import { InstrumentationBase, InstrumentationModuleDefinition } from '@opentelemetry/instrumentation';
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
export interface LangGraphInstrumentationConfig extends InstrumentationConfig {
}
export default class OpenlitLangGraphInstrumentation extends InstrumentationBase {
constructor(config?: LangGraphInstrumentationConfig);
protected init(): void | InstrumentationModuleDefinition | InstrumentationModuleDefinition[];
manualPatch(langgraph: any): void;
protected _patch(moduleExports: any): void;
private _patchPregelProto;
protected _unpatch(moduleExports: any): void;
}