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)
248return _instrument?.Type == OtlpInstrumentType.Histogram;
Otlp\Model\OtlpApplication.cs (5)
87private static OtlpInstrumentType MapMetricType(Metric.DataOneofCase data) 91Metric.DataOneofCase.Gauge => OtlpInstrumentType.Gauge, 92Metric.DataOneofCase.Sum => OtlpInstrumentType.Sum, 93Metric.DataOneofCase.Histogram => OtlpInstrumentType.Histogram, 94_ => 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,