1 write to TraceId
Aspire.Dashboard (1)
Otlp\Model\OtlpLogEntry.cs (1)
64
TraceId
= record.TraceId.ToHexString();
16 references to TraceId
Aspire.Dashboard (13)
Components\Controls\StructuredLogDetails.razor.cs (3)
90
if (HasTelemetryBaggage(_viewModel.LogEntry.
TraceId
))
92
_contextAttributes.Add(new TelemetryPropertyViewModel { Name = "TraceId", Key = KnownStructuredLogFields.TraceIdField, Value = _viewModel.LogEntry.
TraceId
});
119
Parameters = { ["TraceId"] = _viewModel.LogEntry.
TraceId
}
Components\Pages\StructuredLogs.razor.cs (4)
547
logEntry.
TraceId
,
557
var span = TelemetryRepository.GetSpan(logEntry.
TraceId
, logEntry.SpanId)!;
588
.DistinctBy(l => (l.SpanId, l.
TraceId
))
589
.Select(l => TelemetryRepository.GetSpan(l.
TraceId
, l.SpanId)!)
Components_Pages_StructuredLogs_razor.g.cs (3)
1680
if (!string.IsNullOrEmpty(context.
TraceId
))
1691
DashboardUrls.TraceDetailUrl(context.
TraceId
, context.SpanId)
1710
__builder6.AddContent(184, OtlpHelpers.ToShortenedId(context.
TraceId
)
Components_ResourcesGridColumns_LogMessageColumnDisplay_razor.g.cs (1)
323
if (!string.IsNullOrEmpty(LogEntry.
TraceId
) &&
Model\Assistant\AIHelpers.cs (1)
274
trace_id = OtlpHelpers.ToShortenedId(l.
TraceId
),
Otlp\Model\OtlpLogEntry.cs (1)
117
KnownStructuredLogFields.TraceIdField => log.
TraceId
,
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\LogTests.cs (3)
76
Assert.Equal("5465737454726163654964", resource.
TraceId
);
888
Assert.Equal("5465737454726163654964", resource.
TraceId
);
911
Assert.Equal("5465737454726163654964", resource.
TraceId
);