Class TraceQueryService

java.lang.Object
dev.dokimos.server.service.TraceQueryService

@Service public class TraceQueryService extends Object
Read side for ingested traces: a paginated list and a per-trace detail with spans and eval jobs.
  • Constructor Details

  • Method Details

    • listTraces

      @Transactional(readOnly=true) public org.springframework.data.domain.Page<TraceSummary> listTraces(UUID projectId, org.springframework.data.domain.Pageable pageable, TenantScope scope)
      Lists traces newest first, optionally filtered to a project.
      Parameters:
      projectId - restrict to this project when non-null
      pageable - the page request
      Returns:
      a page of trace summaries
    • getTrace

      @Transactional(readOnly=true) public TraceDetail getTrace(UUID id, TenantScope scope)
      Returns the full detail of one trace: its metadata, spans, and the online eval jobs scoped to its spans.
      Parameters:
      id - the trace primary key
      Returns:
      the trace detail
      Throws:
      IllegalArgumentException - if no trace has the id (mapped to 404)