Optional
additionalAdditional HTTP headers to include with requests.
Optional
baseLangfuse instance base URL. Can also be set via LANGFUSE_BASE_URL environment variable.
Optional
environmentEnvironment identifier for the traces. Can also be set via LANGFUSE_TRACING_ENVIRONMENT environment variable.
Optional
exporterCustom OpenTelemetry span exporter. If not provided, a default OTLP exporter will be used.
Optional
exportSpan export mode to use.
Optional
flushNumber of spans to batch before flushing. Can also be set via LANGFUSE_FLUSH_AT environment variable.
Optional
flushFlush interval in seconds. Can also be set via LANGFUSE_FLUSH_INTERVAL environment variable.
Optional
maskFunction to mask sensitive data in spans before export.
Optional
publicLangfuse public API key. Can also be set via LANGFUSE_PUBLIC_KEY environment variable.
Optional
releaseRelease identifier for the traces. Can also be set via LANGFUSE_RELEASE environment variable.
Optional
secretLangfuse secret API key. Can also be set via LANGFUSE_SECRET_KEY environment variable.
Optional
shouldFunction to determine whether a span should be exported to Langfuse.
Optional
timeoutRequest timeout in seconds. Can also be set via LANGFUSE_TIMEOUT environment variable.
Configuration parameters for the LangfuseSpanProcessor.