Named

org.llm4s.trace.TracingMode.Named
final case class Named(name: String) extends TracingMode

A mode served by a org.llm4s.trace.spi.TracingBackend rather than by core.

This is what makes the set of modes open: a backend declares TracingMode.Named("datadog") and TRACING_MODE=datadog selects it, with no edit to core. Langfuse (Named("langfuse"), in llm4s-observability) and OpenTelemetry (Named("opentelemetry"), in llm4s-observability-otel) are registered exactly this way. Matching against a backend is case-insensitive.

Value parameters

name

the mode's config value; fromString produces it lower-cased

Attributes

Graph
Supertypes
trait TracingMode
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product