1 write to Sum
Aspire.Dashboard (1)
Model\TelemetryExportService.cs (1)
510metric.Sum = new OtlpSumJson
8 references to Sum
Aspire.Dashboard (2)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
398else if (json.Sum is not null) 400metric.Sum = ToProtobuf(json.Sum);
Aspire.Dashboard.Tests (6)
Model\TelemetryExportServiceTests.cs (3)
595Assert.NotNull(metric.Sum); 596Assert.NotNull(metric.Sum.DataPoints); 597Assert.NotEmpty(metric.Sum.DataPoints);
TelemetryRepositoryTests\MetricsTests.cs (3)
1741var exportedPoint = Assert.Single(Assert.Single(Assert.Single(Assert.Single(exported.ResourceMetrics!).ScopeMetrics!).Metrics!).Sum!.DataPoints!); 1819var exportedPoints = Assert.Single(Assert.Single(Assert.Single(exported.ResourceMetrics!).ScopeMetrics!).Metrics!).Sum!.DataPoints!; 1921var exportedPoint = Assert.Single(Assert.Single(Assert.Single(Assert.Single(exported.ResourceMetrics!).ScopeMetrics!).Metrics!).Sum!.DataPoints!);