1 instantiation of SpanWaterfallViewModel
Aspire.Dashboard (1)
Model\Otlp\SpanWaterfallViewModel.cs (1)
155
var viewModel = new
SpanWaterfallViewModel
22 references to SpanWaterfallViewModel
Aspire.Dashboard (19)
Components\Controls\Chart\PlotlyChart.razor.cs (1)
157
?
SpanWaterfallViewModel
.GetTitle(exemplar.Span, Applications)
Components\Dialogs\ExemplarsDialog.razor.cs (1)
57
?
SpanWaterfallViewModel
.GetTitle(exemplar.Span, Content.Applications)
Components\Pages\TraceDetail.razor.cs (11)
27
private List<
SpanWaterfallViewModel
>? _spanWaterfallViewModels;
32
private FluentDataGrid<
SpanWaterfallViewModel
> _dataGrid = null!;
77
private ValueTask<GridItemsProviderResult<
SpanWaterfallViewModel
>> GetData(GridItemsProviderRequest<
SpanWaterfallViewModel
> request)
90
return ValueTask.FromResult(new GridItemsProviderResult<
SpanWaterfallViewModel
>
155
_spanWaterfallViewModels =
SpanWaterfallViewModel
.Create(_trace, new
SpanWaterfallViewModel
.TraceDetailState(OutgoingPeerResolvers, _collapsedSpanIds));
180
private string GetRowClass(
SpanWaterfallViewModel
viewModel)
193
private async Task OnToggleCollapse(
SpanWaterfallViewModel
viewModel)
211
private async Task OnShowPropertiesAsync(
SpanWaterfallViewModel
viewModel, string? buttonId)
235
Title =
SpanWaterfallViewModel
.GetTitle(viewModel.Span, _applications),
Model\Otlp\SpanWaterfallViewModel.cs (6)
117
private readonly record struct SpanWaterfallViewModelState(
SpanWaterfallViewModel
? Parent, int Depth, bool Hidden);
121
public static List<
SpanWaterfallViewModel
> Create(OtlpTrace trace, TraceDetailState state)
123
var orderedSpans = new List<
SpanWaterfallViewModel
>();
127
var
viewModel = CreateViewModel(span, s.Depth, s.Hidden, state);
137
static
SpanWaterfallViewModel
CreateViewModel(OtlpSpan span, int depth, bool hidden, TraceDetailState state)
155
var
viewModel = new SpanWaterfallViewModel
Aspire.Dashboard.Components.Tests (1)
Pages\TraceDetailsTests.cs (1)
126
var grid = cut.FindComponent<FluentDataGrid<
SpanWaterfallViewModel
>>();
Aspire.Dashboard.Tests (2)
Model\SpanWaterfallViewModelTests.cs (2)
28
var vm =
SpanWaterfallViewModel
.Create(trace, new
SpanWaterfallViewModel
.TraceDetailState([], []));