Skip to content

Commit ad7b716

Browse files
authored
Introduce an optional zero_threshold field to ExponentialHistogramDataPoint (#441)
1 parent 2119dc9 commit ad7b716

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Full list of differences found in [this compare](https://github.com/open-telemet
1414

1515
### Added
1616

17-
* Remove if no changes for this section before release.
17+
* Introduce an optional `zero_threshold` field to `ExponentialHistogramDataPoint`.
18+
[(#440)](https://github.com/open-telemetry/opentelemetry-proto/issues/440)
1819

1920
### Removed
2021

opentelemetry/proto/metrics/v1/metrics.proto

+8
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,14 @@ message ExponentialHistogramDataPoint {
561561

562562
// max is the maximum value over (start_time, end_time].
563563
optional double max = 13;
564+
565+
// ZeroThreshold may be optionally set to convey the width of the zero
566+
// region. Where the zero region is defined as the closed interval
567+
// [-ZeroThreshold, ZeroThreshold].
568+
// When ZeroThreshold is unset or 0, zero count bucket stores
569+
// values that cannot be expressed using the standard exponential formula as
570+
// well as values that have been rounded to zero.
571+
optional double zero_threshold = 14;
564572
}
565573

566574
// SummaryDataPoint is a single data point in a timeseries that describes the

0 commit comments

Comments
 (0)