Package dev.dokimos.server.entity
Class Trace
java.lang.Object
dev.dokimos.server.entity.Trace
A single distributed execution trace ingested over OTLP, holding one or more
TraceSpan rows.
Lives in a dedicated ingestion store kept separate from the experiment results so a columnar store
could later replace it. projectId is a soft link, set only when the OTLP resource attributes
name a known project, so ingestion never fails on an unknown project. expiresAt drives the
retention sweeper.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAttaches a span to this trace and keeps both ends of the association consistent.getId()intgetSpans()voidsetEndTimeUnixNano(Long endTimeUnixNano) voidsetExpiresAt(Instant expiresAt) voidsetProjectId(UUID projectId) voidsetRootSpanName(String rootSpanName) voidsetSpanCount(int spanCount) voidsetStartTimeUnixNano(Long startTimeUnixNano) voidsetTenantId(String tenantId)
-
Constructor Details
-
Trace
-
-
Method Details
-
getId
-
getTraceId
-
getProjectId
-
setProjectId
-
getTenantId
-
setTenantId
-
getRootSpanName
-
setRootSpanName
-
getSpanCount
public int getSpanCount() -
setSpanCount
public void setSpanCount(int spanCount) -
getStartTimeUnixNano
-
setStartTimeUnixNano
-
getEndTimeUnixNano
-
setEndTimeUnixNano
-
getCreatedAt
-
getExpiresAt
-
setExpiresAt
-
getSpans
-
addSpan
Attaches a span to this trace and keeps both ends of the association consistent.
-