org.llm4s.trace.model.Trace
See theTrace companion object
final case class Trace(traceId: TraceId, rootSpanId: Option[SpanId], metadata: Map[String, String], startTime: Instant, endTime: Option[Instant], status: SpanStatus)
Top-level container for a logical operation, grouping one or more spans.
Value parameters
- endTime
-
when the trace ended;
Nonewhile still running - metadata
-
arbitrary string key/value tags (e.g. experiment name, user ID)
- rootSpanId
-
the entry-point span, or
Nonebefore the first span is recorded - startTime
-
when the trace started
- status
-
overall outcome of the trace
- traceId
-
unique identifier for this trace
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article