8 writes to Histogram
Aspire.Dashboard (4)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (3)
1174Histogram = other.Histogram.Clone(); 1552Histogram = new global::OpenTelemetry.Proto.Metrics.V1.Histogram(); 1705Histogram = subBuilder;
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (1)
404metric.Histogram = ToProtobuf(json.Histogram);
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
75Histogram = new Histogram
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\MetricsTests.cs (2)
1320Histogram = new Histogram 1401Histogram = new Histogram
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
75Histogram = new Histogram
20 references to Histogram
Aspire.Dashboard (13)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (10)
1174Histogram = other.Histogram.Clone(); 1364if (!object.Equals(Histogram, other.Histogram)) return false; 1381if (dataCase_ == DataOneofCase.Histogram) hash ^= Histogram.GetHashCode(); 1469output.WriteMessage(Histogram); 1506size += 1 + pb::CodedOutputStream.ComputeMessageSize(Histogram); 1551if (Histogram == null) { 1554Histogram.MergeFrom(other.Histogram); 1702subBuilder.MergeFrom(Histogram);
Otlp\Model\OtlpHelpers.cs (1)
52Metric.DataOneofCase.Histogram => metric.Histogram.DataPoints.Count,
Otlp\Storage\SqliteTelemetryRepository.Metrics.Writes.cs (2)
158foreach (var point in metric.Histogram.DataPoints) 822Metric.DataOneofCase.Histogram => (OtlpAggregationTemporality)metric.Histogram.AggregationTemporality,
Aspire.Dashboard.Tests (7)
TelemetryRepositoryTests\MetricsTests.cs (4)
1227metric.Histogram.DataPoints[0].Sum = sum; 1858var point = Assert.Single(metric.Histogram.DataPoints); 2081var point = Assert.Single(metric.Histogram.DataPoints); 2181var histogramPoint = histogram.Histogram.DataPoints[0];
TelemetryRepositoryTests\SqliteTelemetryPersistenceTests.cs (3)
447histogram.Histogram.DataPoints[0].ExplicitBounds.Clear(); 448histogram.Histogram.DataPoints[0].ExplicitBounds.Add([1, 2]); 481changedHistogram.Histogram.DataPoints[0].BucketCounts.Add(4);