Skip to content

TelemetryOptions

Namespace: E2E.Decision.Sdk

public sealed class TelemetryOptions

Telemetry configuration (the AI SDK’s TelemetryOptions, telemetry/telemetry-options.ts).

Inheritance: object

View source

public string? FunctionId { get; init; }

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

Value: string

public IReadOnlyDictionary<string, bool>? IncludeRuntimeContext { get; init; }

Top-level runtime context properties that should be included in telemetry. Runtime context properties are excluded unless they are explicitly set to true.

Value: IReadOnlyDictionary<string, bool>

public IReadOnlyList<ITelemetry>? Integrations { get; init; }

Per-call telemetry integrations that receive lifecycle events during the call.

Value: IReadOnlyList<ITelemetry>

public bool? IsEnabled { get; init; }

Enable or disable telemetry. Enabled by default. Set to false to opt out.

Value: bool?

public bool? RecordInputs { get; init; }

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.

Value: bool?

public bool? RecordOutputs { get; init; }

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.

Value: bool?