9 writes to Type
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.Caching.cs (1)
679
Type
= (OtlpInstrumentType)record.InstrumentType,
Aspire.Dashboard.Components.Tests (5)
Controls\PlotlyChartTests.cs (5)
40
Type
= OtlpInstrumentType.Histogram,
131
Type
= OtlpInstrumentType.Sum,
195
Type
= OtlpInstrumentType.Sum,
249
Type
= OtlpInstrumentType.Sum,
301
Type
= instrumentType,
Aspire.Dashboard.Tests (3)
ChartDataCalculatorTests.cs (1)
1003
Type
= OtlpInstrumentType.Gauge,
Model\DefaultInstrumentUnitResolverTests.cs (1)
34
Type
= OtlpInstrumentType.Gauge,
Model\MetricPinStoreTests.cs (1)
129
Type
= OtlpInstrumentType.Sum,
10 references to Type
Aspire.Dashboard (9)
Components\Controls\Chart\ChartBase.cs (3)
118
_renderedInstrumentType != InstrumentViewModel.Instrument.
Type
||
128
_renderedInstrumentType = InstrumentViewModel.Instrument.
Type
;
212
if (InstrumentViewModel.Instrument?.
Type
!= OtlpInstrumentType.Histogram || InstrumentViewModel.ShowCount)
Components\Controls\Chart\ChartContainer.razor.cs (1)
362
var includeExemplars = instrumentSummary.
Type
== OtlpInstrumentType.Histogram;
Components\Controls\Chart\ChartDataCalculator.cs (1)
154
=> instrument.
Type
== OtlpInstrumentType.Sum && instrument.IsMonotonic;
Components\Controls\Chart\LiveSparklinesBase.cs (2)
299
var chartData = instrument.
Type
== OtlpInstrumentType.Histogram
336
if (instrument.
Type
== OtlpInstrumentType.Histogram)
Components\Controls\Chart\MetricTable.razor.cs (1)
267
return _instrument?.
Type
== OtlpInstrumentType.Histogram;
Model\TelemetryExportService.cs (1)
501
switch (summary.
Type
)
Aspire.Dashboard.Tests (1)
TelemetryRepositoryTests\MetricsTests.cs (1)
106
Assert.Equal(OtlpInstrumentType.Histogram, instrumentSummary.
Type
);