1 write to SpanId
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
1252
SpanId
= e.SpanId.ToHexString(),
14 references to SpanId
Aspire.Dashboard (6)
Model\Assistant\AIHelpers.cs (1)
58
links = s.Links.Select(l => new { trace_id = OtlpHelpers.ToShortenedId(l.TraceId), span_id = OtlpHelpers.ToShortenedId(l.
SpanId
) }).ToList(),
Model\SpanDetailsViewModel.cs (1)
42
var links = span.Links.Select(l => CreateLinkViewModel(l.TraceId, l.
SpanId
, l.Attributes, telemetryRepository, traceCache)).ToList();
Otlp\Storage\TelemetryRepository.cs (4)
1006
if (existingLink.
SpanId
== newSpan.SpanId && existingLink.TraceId == newSpan.TraceId)
1017
var linkedSpan = GetSpanAndCloneUnsynchronized(link.TraceId, link.
SpanId
);
1214
throw new InvalidOperationException($"Couldn't find expected link from span {span.SpanId} to span {link.
SpanId
}.");
1227
sb.AppendLine(CultureInfo.InvariantCulture, $"\tSource span ID: {link.SourceSpanId}, Target span ID: {link.
SpanId
}");
Aspire.Dashboard.Tests (8)
TelemetryRepositoryTests\TraceTests.cs (8)
656
AssertId("1-1", l.
SpanId
);
667
AssertId("2-1", l.
SpanId
);
681
AssertId("1-1", l.
SpanId
);
692
AssertId("2-1", l.
SpanId
);
881
AssertId("1-2", link.
SpanId
);
885
AssertId("1-1", backLink.
SpanId
);
891
AssertId("1-1", link.
SpanId
);
895
AssertId("1-2", backLink.
SpanId
);