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; None disables 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product