1 write to Source
Aspire.Dashboard (1)
Otlp\Model\OtlpSpan.cs (1)
69Source = applicationView;
16 references to Source
Aspire.Dashboard (13)
Components\Controls\SpanDetails.razor.cs (1)
39ViewModel.Span.Source.AllProperties().Select(p => new TelemetryPropertyViewModel { Name = p.DisplayName, Key = p.Key, Value = p.Value })
Components\Pages\TraceDetail.razor.cs (4)
134return $"{GetResourceName(headerSpan.Source)}: {headerSpan.Name}"; 205apps.Add(span.Source.Application); 230if (_tracesSubscription is null || _tracesSubscription.ApplicationKey != _trace.FirstSpan.Source.ApplicationKey) 233_tracesSubscription = TelemetryRepository.OnNewTraces(_trace.FirstSpan.Source.ApplicationKey, SubscriptionType.Read, () => InvokeAsync(async () =>
Model\Otlp\SpanWaterfallViewModel.cs (2)
76|| getResourceName(viewModel.Span.Source).Contains(filter, StringComparison.CurrentCultureIgnoreCase) 114return $"{OtlpApplication.GetResourceName(span.Source, allApplications)}: {span.GetDisplaySummary()}";
Model\TraceHelpers.cs (1)
56ProcessSpanApp(span, span.Source.Application, appFirstTimes, currentMinDate);
Otlp\Model\OtlpSpan.cs (3)
76return new OtlpSpan(item.Source, trace, item.Scope) 124return $@"SpanId = {SpanId}, StartTime = {StartTime.ToLocalTime():h:mm:ss.fff tt}, ParentSpanId = {ParentSpanId}, Application = {Source.ApplicationKey}, UninstrumentedPeerApplication = {UninstrumentedPeer?.ApplicationKey}, TraceId = {Trace.TraceId}"; 192KnownResourceFields.ServiceNameField => new FieldValues(span.Source.Application.ApplicationName, span.UninstrumentedPeer?.ApplicationName),
Otlp\Model\OtlpTrace.cs (1)
106return $"{existingSpan.Source.Application.ApplicationName}: {existingSpan.Name}";
Otlp\Storage\TelemetryRepository.cs (1)
589if (span.Source.ApplicationKey == applicationKey || span.UninstrumentedPeer?.ApplicationKey == applicationKey)
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\TraceTests.cs (3)
1526Assert.Collection(s.Source.Properties, 1536Assert.Collection(s.Source.Properties, 1551Assert.Collection(s.Source.Properties,