Interface TelemetrySettings

interface TelemetrySettings {
    functionId?: string;
    isEnabled?: boolean;
    metadata?: Record<string, AttributeValue>;
    recordInputs?: boolean;
    recordOutputs?: boolean;
    runId?: string;
    runName?: string;
    tracer?: Tracer;
}

Hierarchy (View Summary)

Properties

functionId?: string

Identifier for this function. Used to group telemetry data by function.

isEnabled?: boolean

Enable or disable telemetry. Disabled by default while experimental.

metadata?: Record<string, AttributeValue>

Additional information to include in the telemetry data.

recordInputs?: boolean

Enable or disable input recording. Enabled by default.

You might want to disable input recording to avoid recording sensitive information, to reduce data transfers, or to increase performance.

recordOutputs?: boolean

Enable or disable output recording. Enabled by default.

You might want to disable output recording to avoid recording sensitive information, to reduce data transfers, or to increase performance.

runId?: string

ID of the run sent to LangSmith

runName?: string

Name of the run sent to LangSmith

tracer?: Tracer

A custom tracer to use for the telemetry data.