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