diff --git a/experimental/packages/opentelemetry-sdk-metrics-base/src/view/Aggregation.ts b/experimental/packages/opentelemetry-sdk-metrics-base/src/view/Aggregation.ts index b0c4d548b4..ce3afa5fa2 100644 --- a/experimental/packages/opentelemetry-sdk-metrics-base/src/view/Aggregation.ts +++ b/experimental/packages/opentelemetry-sdk-metrics-base/src/view/Aggregation.ts @@ -113,8 +113,7 @@ export class ExplicitBucketHistogramAggregation extends Aggregation { if (infinityIndex === -1) { infinityIndex = undefined; } - boundaries = boundaries.slice(minusInfinityIndex + 1, infinityIndex); - this._boundaries = boundaries; + this._boundaries = boundaries.slice(minusInfinityIndex + 1, infinityIndex); } createAggregator(_instrument: InstrumentDescriptor) {