Skip to content

Commit a5ab8d9

Browse files
kovrusVinozzZ
authored andcommitted
Introduce an optional zero_threshold field to ExponentialHistogramDataPoint (open-telemetry#441)
1 parent 327e7b5 commit a5ab8d9

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
@@ -595,6 +595,14 @@ message ExponentialHistogramDataPoint {
595595

596596
// max is the maximum value over (start_time, end_time].
597597
optional double max = 13;
598+
599+
// ZeroThreshold may be optionally set to convey the width of the zero
600+
// region. Where the zero region is defined as the closed interval
601+
// [-ZeroThreshold, ZeroThreshold].
602+
// When ZeroThreshold is unset or 0, zero count bucket stores
603+
// values that cannot be expressed using the standard exponential formula as
604+
// well as values that have been rounded to zero.
605+
optional double zero_threshold = 14;
598606
}
599607

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

0 commit comments

Comments
 (0)