LangfuseTracingBackend

org.llm4s.trace.LangfuseTracingBackend

Registers LangfuseTracing for TracingMode.Langfuse (TRACING_MODE=langfuse).

Declared in core's META-INF/services/org.llm4s.trace.spi.TracingBackend. This file and that entry leave core together when Langfuse is carved into llm4s-observability (#1133), after which TRACING_MODE=langfuse without that module gives NoOpTracing and an error, as OpenTelemetry already does.

A class rather than an object because java.util.ServiceLoader instantiates it through a public no-arg constructor.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Builds the tracer for settings.

Builds the tracer for settings.

Return a Left rather than throwing when the backend cannot start - a missing credential, an unreachable collector that fails eagerly - so that Tracing.fromSettings can report it. A thrown exception is caught and reported the same way, but loses the chance to say what went wrong.

Attributes

Concrete fields

The mode this backend serves. A backend outside core uses TracingMode.Named; matching is by TracingMode.name, case-insensitively.

The mode this backend serves. A backend outside core uses TracingMode.Named; matching is by TracingMode.name, case-insensitively.

Attributes