TraceSpan

org.llm4s.trace.TraceSpan
See theTraceSpan companion class
object TraceSpan

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TraceSpan.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(context: TraceContext, parent: Option[TraceContext], startedAt: Instant): TraceSpan

Throws IllegalArgumentException for a parent of another trace; use of for untrusted input.

Throws IllegalArgumentException for a parent of another trace; use of for untrusted input.

Attributes

def of(context: TraceContext, parent: Option[TraceContext], startedAt: Instant): Result[TraceSpan]

A span in context's trace under parent, or a ValidationError when parent is of another trace.

A span in context's trace under parent, or a ValidationError when parent is of another trace.

Attributes