14 references to OtlpInstrumentType
Aspire.Dashboard (12)
Components\Controls\Chart\ChartBase.cs (1)
498
if (InstrumentViewModel.Instrument?.Type !=
OtlpInstrumentType
.Histogram || InstrumentViewModel.ShowCount)
Components\Controls\Chart\MetricTable.razor.cs (1)
258
return _instrument?.Type ==
OtlpInstrumentType
.Histogram;
Components_Controls_Chart_ChartFilters_razor.g.cs (1)
868
if (Instrument.Summary.Type ==
OtlpInstrumentType
.Histogram)
Model\TelemetryExportService.cs (3)
454
case
OtlpInstrumentType
.Gauge:
460
case
OtlpInstrumentType
.Sum:
467
case
OtlpInstrumentType
.Histogram:
Otlp\Model\OtlpInstrument.cs (1)
19
public required
OtlpInstrumentType
Type { get; init; }
Otlp\Model\OtlpResource.cs (5)
217
private static
OtlpInstrumentType
MapMetricType(Metric.DataOneofCase data)
221
Metric.DataOneofCase.Gauge =>
OtlpInstrumentType
.Gauge,
222
Metric.DataOneofCase.Sum =>
OtlpInstrumentType
.Sum,
223
Metric.DataOneofCase.Histogram =>
OtlpInstrumentType
.Histogram,
224
_ =>
OtlpInstrumentType
.Unsupported
Aspire.Dashboard.Components.Tests (1)
Controls\PlotlyChartTests.cs (1)
67
Type =
OtlpInstrumentType
.Sum,
Aspire.Dashboard.Tests (1)
Model\DefaultInstrumentUnitResolverTests.cs (1)
32
Type =
OtlpInstrumentType
.Gauge,