9 references to OtlpInstrumentType
Aspire.Dashboard (7)
Components\Controls\Chart\ChartBase.cs (1)
497if (InstrumentViewModel.Instrument?.Type != OtlpInstrumentType.Histogram || InstrumentViewModel.ShowCount)
Components\Controls\Chart\MetricTable.razor.cs (1)
249return _instrument?.Type == OtlpInstrumentType.Histogram;
Otlp\Model\OtlpApplication.cs (5)
182private static OtlpInstrumentType MapMetricType(Metric.DataOneofCase data) 186Metric.DataOneofCase.Gauge => OtlpInstrumentType.Gauge, 187Metric.DataOneofCase.Sum => OtlpInstrumentType.Sum, 188Metric.DataOneofCase.Histogram => OtlpInstrumentType.Histogram, 189_ => OtlpInstrumentType.Unsupported
Aspire.Dashboard.Components.Tests (1)
Controls\PlotlyChartTests.cs (1)
69Type = OtlpInstrumentType.Sum
Aspire.Dashboard.Tests (1)
Model\DefaultInstrumentUnitResolverTests.cs (1)
33Type = OtlpInstrumentType.Gauge,