10 references to OtlpInstrumentType
Aspire.Dashboard (8)
Components\Controls\Chart\ChartBase.cs (1)
500
if (InstrumentViewModel.Instrument?.Type !=
OtlpInstrumentType
.Histogram || InstrumentViewModel.ShowCount)
Components\Controls\Chart\MetricTable.razor.cs (1)
250
return _instrument?.Type ==
OtlpInstrumentType
.Histogram;
Otlp\Model\OtlpApplication.cs (5)
193
private static
OtlpInstrumentType
MapMetricType(Metric.DataOneofCase data)
197
Metric.DataOneofCase.Gauge =>
OtlpInstrumentType
.Gauge,
198
Metric.DataOneofCase.Sum =>
OtlpInstrumentType
.Sum,
199
Metric.DataOneofCase.Histogram =>
OtlpInstrumentType
.Histogram,
200
_ =>
OtlpInstrumentType
.Unsupported
Otlp\Model\OtlpInstrument.cs (1)
19
public required
OtlpInstrumentType
Type { get; init; }
Aspire.Dashboard.Components.Tests (1)
Controls\PlotlyChartTests.cs (1)
65
Type =
OtlpInstrumentType
.Sum
Aspire.Dashboard.Tests (1)
Model\DefaultInstrumentUnitResolverTests.cs (1)
32
Type =
OtlpInstrumentType
.Gauge,