Skip to content

LangfuseTraceExportOptions

NexusLabs.Foundry.Langfuse

LangfuseTraceExportOptions Class

Configures bounded local batching for Langfuse trace export.

public sealed record LangfuseTraceExportOptions : System.IEquatable<NexusLabs.Foundry.Langfuse.LangfuseTraceExportOptions>

Inheritance System.Object 🡒 LangfuseTraceExportOptions

Implements System.IEquatable<LangfuseTraceExportOptions>

Properties

LangfuseTraceExportOptions.ExporterTimeout Property

Gets or sets the OTLP HTTP request timeout. Defaults to 30 seconds.

public System.TimeSpan ExporterTimeout { get; set; }

Property Value

System.TimeSpan

Remarks

This bounds the exporter transport request. It does not prove that Langfuse durably processed or made the trace queryable.

LangfuseTraceExportOptions.MaxBatchSize Property

Gets or sets the maximum activities sent in one OTLP request. Defaults to 512.

public int MaxBatchSize { get; set; }

Property Value

System.Int32

LangfuseTraceExportOptions.MaxQueueSize Property

Gets or sets the maximum number of completed activities held locally. Defaults to 2048.

public int MaxQueueSize { get; set; }

Property Value

System.Int32

LangfuseTraceExportOptions.ScheduledDelay Property

Gets or sets the maximum wait before a partial batch is exported. Defaults to five seconds.

public System.TimeSpan ScheduledDelay { get; set; }

Property Value

System.TimeSpan