TraceQuery

org.llm4s.trace.store.TraceQuery
See theTraceQuery companion object
final case class TraceQuery(startTimeFrom: Option[Instant], startTimeTo: Option[Instant], status: Option[SpanStatus], metadata: Map[String, String], cursor: Option[String], limit: Int)

Filter and pagination parameters for TraceStore.queryTraces.

All filters are optional and combined with AND semantics. Use the companion object smart constructors for the common single-filter cases.

Value parameters

cursor

opaque pagination token from the previous TracePage

limit

maximum number of traces to return (default 50)

metadata

key/value pairs that must all be present in the trace metadata

startTimeFrom

inclusive lower bound on trace start time

startTimeTo

inclusive upper bound on trace start time

status

exact status match

Attributes

Companion
object
Graph
Supertypes
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