Skip to content

Commit

Permalink
Allow to configure min/max recording in the exponential histogram agg…
Browse files Browse the repository at this point in the history
…regation. (open-telemetry#2904)

Since min max are optional in the proto definition.

Signed-off-by: Bogdan Drutu <[email protected]>

Signed-off-by: Bogdan Drutu <[email protected]>
Co-authored-by: Reiley Yang <[email protected]>
  • Loading branch information
2 people authored and lmolkova committed Nov 3, 2022
1 parent e43ed55 commit a3fb700
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ release.

- Handle duplicate description comments during Prometheus conversion.
([#2890](https://github.com/open-telemetry/opentelemetry-specification/pull/2890))
- Allow to configure min/max recording in the exponential histogram aggregation.
([#2904](https://github.com/open-telemetry/opentelemetry-specification/pull/2904))

### Logs

Expand Down
1 change: 1 addition & 0 deletions specification/metrics/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ Aggregation honors the following configuration parameter:
| Key | Value | Default Value | Description |
|---------|---------|---------------|--------------------------------------------------------------------------------------------------------------|
| MaxSize | integer | 160 | Maximum number of buckets in each of the positive and negative ranges, not counting the special zero bucket. |
| RecordMinMax | true, false | true | Whether to record min and max. |

The default of 160 buckets is selected to establish default support
for a high-resolution histogram able to cover a long-tail latency
Expand Down

0 comments on commit a3fb700

Please sign in to comment.