18 writes to AsInt
Aspire.Dashboard (4)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (3)
2938AsInt = other.AsInt; 3275AsInt = other.AsInt; 3362AsInt = input.ReadSFixed64();
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (1)
526dataPoint.AsInt = json.AsInt.Value;
Aspire.Dashboard.Components.Tests (2)
Controls\PlotlyChartTests.cs (1)
80AsInt = 1,
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
116AsInt = value,
Aspire.Dashboard.Tests (12)
ChartDataCalculatorTests.cs (11)
106AsInt = 42, 127AsInt = 42, 153AsInt = 10, 160AsInt = 20, 183AsInt = 10, 189AsInt = 15 + (minute * 5), 215AsInt = 5, 222AsInt = 15, 242AsInt = 100, 273AsInt = 1, 425AsInt = 1,
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
116AsInt = value,
11 references to AsInt
Aspire.Dashboard (11)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (6)
2938AsInt = other.AsInt; 3129if (AsInt != other.AsInt) return false; 3144if (HasAsInt) hash ^= AsInt.GetHashCode(); 3213output.WriteSFixed64(AsInt); 3275AsInt = other.AsInt;
Otlp\Model\MetricValues\DimensionScope.cs (2)
40var value = d.AsInt; 54_lastValue = new MetricValue<long>(d.AsInt, start, end);
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (3)
190? pointType == LongPointType ? pendingLatest.IntegerValue == point.AsInt : pendingLatest.DoubleValue == point.AsDouble 191: pointType == LongPointType ? latest?.IntegerValue == point.AsInt : latest?.DoubleValue == point.AsDouble); 225IntegerValue = pointType == LongPointType ? point.AsInt : (long?)null,