Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce an optional zero_threshold field to ExponentialHistogramDataPoint #441

Merged
merged 4 commits into from
Jan 23, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Full list of differences found in [this compare](https://github.com/open-telemet

### Added

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

### Removed

Expand Down
7 changes: 7 additions & 0 deletions opentelemetry/proto/metrics/v1/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,13 @@ message ExponentialHistogramDataPoint {

// max is the maximum value over (start_time, end_time].
optional double max = 13;

// ZeroThreshold may be optionally set to convey the width of the
// zero region.
// When ZeroThreshold is unset or 0, zero count bucket stores
// values that cannot be expressed using the standard exponential formula as
// well as values that have been rounded to zero.
kovrus marked this conversation as resolved.
Show resolved Hide resolved
optional double zero_threshold = 14;
}

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