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