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 TracingModetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article