LangfuseConfig
org.llm4s.llmconnect.config.LangfuseConfig
case class LangfuseConfig(url: String, publicKey: Option[String], secretKey: Option[String], env: String, release: String, version: String)
Connection and metadata settings for the Langfuse tracing backend.
Normally obtained via org.llm4s.config.Llm4sConfig which reads LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, and LANGFUSE_BASE_URL from the environment.
toString redacts both keys so that the config can be safely logged.
Value parameters
- env
-
deployment environment tag attached to every trace; defaults to
"production" - publicKey
-
Langfuse public API key;
Nonedisables tracing with a warning - release
-
application release identifier forwarded to Langfuse; defaults to
"1.0.0" - secretKey
-
Langfuse secret API key; redacted in
toString - url
-
Langfuse ingestion endpoint; defaults to
https://cloud.langfuse.com/api/public/ingestion - version
-
SDK/integration version forwarded to Langfuse; defaults to
"1.0.0"
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article