From 21dc9dc010956a4d81cb9b41d62f1d05986d4d78 Mon Sep 17 00:00:00 2001 From: Joshua MacDonald Date: Fri, 19 Aug 2022 07:46:12 -0700 Subject: [PATCH] Change the exponential histogram boundary condition (#409) --- opentelemetry/proto/metrics/v1/metrics.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opentelemetry/proto/metrics/v1/metrics.proto b/opentelemetry/proto/metrics/v1/metrics.proto index c0e30e541..0fff2cd1c 100644 --- a/opentelemetry/proto/metrics/v1/metrics.proto +++ b/opentelemetry/proto/metrics/v1/metrics.proto @@ -535,8 +535,8 @@ message ExponentialHistogramDataPoint { // base = (2^(2^-scale)) // // The histogram bucket identified by `index`, a signed integer, - // contains values that are greater than or equal to (base^index) and - // less than (base^(index+1)). + // contains values that are greater than (base^index) and + // less than or equal to (base^(index+1)). // // The positive and negative ranges of the histogram are expressed // separately. Negative values are mapped by their absolute value @@ -572,7 +572,7 @@ message ExponentialHistogramDataPoint { // Count is an array of counts, where count[i] carries the count // of the bucket at index (offset+i). count[i] is the count of - // values greater than or equal to base^(offset+i) and less than + // values greater than base^(offset+i) and less or equal to than // base^(offset+i+1). // // Note: By contrast, the explicit HistogramDataPoint uses