5 writes to AsDouble
Aspire.Dashboard (4)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (3)
2935AsDouble = other.AsDouble; 3272AsDouble = other.AsDouble; 3354AsDouble = input.ReadDouble();
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (1)
522dataPoint.AsDouble = json.AsDouble.Value;
Aspire.Dashboard.Tests (1)
TelemetryRepositoryTests\MetricsTests.cs (1)
1203AsDouble = value,
12 references to AsDouble
Aspire.Dashboard (12)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (6)
2935AsDouble = other.AsDouble; 3128if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(AsDouble, other.AsDouble)) return false; 3143if (HasAsDouble) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AsDouble); 3208output.WriteDouble(AsDouble); 3272AsDouble = other.AsDouble;
Otlp\Model\MetricValues\DimensionScope.cs (2)
62if (lastDoubleValue is not null && lastDoubleValue.Value == d.AsDouble) 74_lastValue = new MetricValue<double>(d.AsDouble, start, end);
Otlp\Model\OtlpHelpers.cs (1)
74if (point.ValueCase == NumberDataPoint.ValueOneofCase.AsDouble && !double.IsFinite(point.AsDouble))
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); 226DoubleValue = pointType == DoublePointType ? point.AsDouble : (double?)null,