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