Skip to content

The only tool you need to know what is happening and how to fix it.

fix: dumb mistake

dduxaf12da355f63
diff --git a/backend/app/controllers/otelcontrollers/trace_converter.go b/backend/app/controllers/otelcontrollers/trace_converter.go
index 6f311721..9c4a5b02 100644
--- a/backend/app/controllers/otelcontrollers/trace_converter.go
+++ b/backend/app/controllers/otelcontrollers/trace_converter.go
@@ -52,7 +52,7 @@ func convertTraces(projectId uuid.UUID, req *coltracepb.ExportTraceServiceReques
traceId = otelTraceIDToUUID(span.TraceId)
if !isRoot {
- if foundTraceId, ok := spanToTraceId[spanIdStr]; ok {
+ if foundTraceId, ok := spanToTraceId[string(span.ParentSpanId)]; ok {
traceId = foundTraceId
}
}