7 instantiations of SpanType
Aspire.Dashboard (7)
Model\SpanType.cs (7)
22
public static readonly SpanType Http = new
SpanType
(
27
public static readonly SpanType Database = new
SpanType
(
32
public static readonly SpanType Messaging = new
SpanType
(
37
public static readonly SpanType Rpc = new
SpanType
(
42
public static readonly SpanType GenAI = new
SpanType
(
48
public static readonly SpanType Cloud = new
SpanType
(
52
public static readonly SpanType Other = new
SpanType
(
33 references to SpanType
Aspire.Dashboard (20)
Components\Controls\SpanTypeSelect.razor.cs (3)
13
public required List<SelectViewModel<
SpanType
>> SpanTypes { get; set; }
16
public required SelectViewModel<
SpanType
> SpanType { get; set; }
19
public EventCallback<SelectViewModel<
SpanType
>> SpanTypeChanged { get; set; }
Components\Pages\TraceDetail.razor.cs (3)
48
private List<SelectViewModel<
SpanType
>> _spanTypes = default!;
113
_spanTypes =
SpanType
.CreateKnownSpanTypes(ControlStringsLoc);
747
public SelectViewModel<
SpanType
> SelectedSpanType { get; set; } = default!;
Components\Pages\Traces.razor.cs (3)
39
private List<SelectViewModel<
SpanType
>> _spanTypes = default!;
189
_spanTypes =
SpanType
.CreateKnownSpanTypes(ControlsStringsLoc);
457
public required SelectViewModel<
SpanType
> SelectedSpanType { get; set; }
Model\SpanType.cs (9)
22
public static readonly
SpanType
Http = new SpanType(
27
public static readonly
SpanType
Database = new SpanType(
32
public static readonly
SpanType
Messaging = new SpanType(
37
public static readonly
SpanType
Rpc = new SpanType(
42
public static readonly
SpanType
GenAI = new SpanType(
48
public static readonly
SpanType
Cloud = new SpanType(
52
public static readonly
SpanType
Other = new SpanType(
63
public static List<SelectViewModel<
SpanType
>> CreateKnownSpanTypes(IStringLocalizer<ControlsStrings> loc)
65
return new List<SelectViewModel<
SpanType
>>
Model\TracesViewModel.cs (2)
20
private
SpanType
? _spanType;
28
public
SpanType
? SpanType { get => _spanType; set => SetValue(ref _spanType, value); }
Aspire.Dashboard.Tests (13)
Model\TraceDetailPageViewModelTests.cs (5)
25
SelectedSpanType = new SelectViewModel<
SpanType
> { Name = "All", Id = default }
58
SelectedSpanType = new SelectViewModel<
SpanType
> { Name = "All", Id = default }
92
SelectedSpanType = new SelectViewModel<
SpanType
> { Name = "All", Id = default }
133
SelectedSpanType = new SelectViewModel<
SpanType
> { Name = "All", Id = default }
161
SelectedSpanType = new SelectViewModel<
SpanType
> { Name = "All", Id = default }
TelemetryRepositoryTests\TraceTests.cs (8)
286
var cases = new (
SpanType
SpanType, string[] ExpectedTraceIds)[]
288
(
SpanType
.Http, ["http"]),
289
(
SpanType
.Database, ["database"]),
290
(
SpanType
.Messaging, ["messaging"]),
291
(
SpanType
.Rpc, ["rpc"]),
292
(
SpanType
.GenAI, ["genai"]),
293
(
SpanType
.Cloud, ["cloud-azure", "cloud-aws"]),
294
(
SpanType
.Other, ["other"])