2 instantiations of OtlpSpanLink
Aspire.Dashboard (2)
Otlp\Storage\SqliteTelemetryRepository.Traces.Reads.cs (1)
823return new OtlpSpanLink
Otlp\Storage\SqliteTelemetryRepository.Traces.Writes.cs (1)
956modelSpan.Links.Add(new OtlpSpanLink
12 references to OtlpSpanLink
Aspire.Dashboard (7)
Model\TelemetryExportService.cs (1)
430private static OtlpSpanLinkJson ConvertSpanLink(OtlpSpanLink link)
Otlp\Model\OtlpSpan.cs (2)
42public required List<OtlpSpanLink> Links { get; init; } 43public required List<OtlpSpanLink> BackLinks { get; init; }
Otlp\Storage\SqliteTelemetryRepository.Traces.Reads.cs (1)
821OtlpSpanLink CreateLink(SpanLinkRecord link)
Otlp\Storage\SqliteTelemetryRepository.Traces.Writes.cs (3)
878var link = pendingLink.Link; 1326private sealed class PendingSpanLink(OtlpSpanLink link) 1328public OtlpSpanLink Link { get; } = link;
Aspire.Dashboard.Tests (5)
TelemetryRepositoryTests\SqliteTelemetryPersistenceTests.cs (1)
369var persistedLink = Assert.Single(trace.FirstSpan.Links);
TelemetryRepositoryTests\TraceTests.cs (4)
1314var link = Assert.Single(s.Links); 1318var backLink = Assert.Single(s.BackLinks); 1324var link = Assert.Single(s.Links); 1328var backLink = Assert.Single(s.BackLinks);