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

Mark base-2 exponential histogram as stable #3041

Merged
merged 11 commits into from
Jan 13, 2023
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ release.

- Rename built-in ExemplarFilters to AlwaysOn, AlwaysOff and TraceBased.
([#2919](https://github.com/open-telemetry/opentelemetry-specification/pull/2919))
- Mark exponential bucket histogram as stable.
([#3041](https://github.com/open-telemetry/opentelemetry-specification/pull/3041))

### Logs

Expand Down
8 changes: 4 additions & 4 deletions spec-compliance-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ formats is required. Implementing more than one format is optional.
| The `Sum` aggregation performs as specified. | | + | + | + | + | | | + | | + | + | |
| The `LastValue` aggregation is available. | | + | + | + | + | | | + | | + | + | |
| The `LastValue` aggregation performs as specified. | | + | + | + | + | | | + | | + | + | |
| The `Histogram` aggregation is available. | | + | + | + | + | | | | | + | + | |
| The `Histogram` aggregation performs as specified. | | + | + | | + | | | | | + | + | |
| The explicit bucket `Histogram` aggregation is available. | | - | + | + | + | | | + | | + | + | |
| The explicit bucket `Histogram` aggregation performs as specified. | | - | + | + | + | | | + | | + | + | |
| The `ExplicitBucketHistogram` aggregation is available. | | - | + | + | + | | | + | | + | + | |
| The `ExplicitBucketHistogram` aggregation performs as specified. | | - | + | + | + | | | + | | + | + | |
| The `ExponentialBucketHistogram` aggregation is available. | | | | | | | | | | | | |
| The `ExponentialBucketHistogram` aggregation performs as specified. | | | | | | | | | | | | |
| The metrics Reader implementation supports registering metric Exporters | | | + | + | + | | | + | | + | + | |
| The metrics Reader implementation supports configuring the default aggregation on the basis of instrument kind. | | | + | | + | | | | | - | - | |
| The metrics Reader implementation supports configuring the default temporality on the basis of instrument kind. | | | + | + | + | | | | | + | | |
Expand Down
2 changes: 1 addition & 1 deletion specification/metrics/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ so that worst-case error is within their error tolerance.

### ExponentialHistogram
jack-berg marked this conversation as resolved.
Show resolved Hide resolved

**Status**: [Experimental](../document-status.md)
**Status**: [Stable](../document-status.md)
reyang marked this conversation as resolved.
Show resolved Hide resolved

[ExponentialHistogram](https://github.com/open-telemetry/opentelemetry-proto/blob/cfbf9357c03bf4ac150a3ab3bcbe4cc4ed087362/opentelemetry/proto/metrics/v1/metrics.proto#L222)
data points are an alternate representation to the
Expand Down
6 changes: 2 additions & 4 deletions specification/metrics/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ The SDK MUST provide the following `Aggregation` to support the
- [Last Value](./sdk.md#last-value-aggregation)
- [Explicit Bucket Histogram](./sdk.md#explicit-bucket-histogram-aggregation)

The SDK MAY provide the following `Aggregation`:
The SDK SHOULD provide the following `Aggregation`:

- [Exponential Bucket Histogram Aggregation](./sdk.md#exponential-bucket-histogram-aggregation)
- [Exponential Bucket Histogram](./sdk.md#exponential-bucket-histogram-aggregation)
jack-berg marked this conversation as resolved.
Show resolved Hide resolved

#### Drop Aggregation

Expand Down Expand Up @@ -450,8 +450,6 @@ or equal to the measurement.

##### Exponential Bucket Histogram Aggregation

**Status**: [Experimental](../document-status.md)

The Exponential Histogram Aggregation informs the SDK to collect data
for the [Exponential Histogram Metric
Point](./data-model.md#exponentialhistogram), which uses an exponential
Expand Down
14 changes: 5 additions & 9 deletions specification/metrics/sdk_exporters/otlp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ linkTitle: OTLP

# OpenTelemetry Metrics Exporter - OTLP

**Status**: [Mixed](../../document-status.md)
**Status**: [Stable](../../document-status.md)

## General

**Status**: [Stable](../../document-status.md)

OTLP Metrics Exporter is a [Push Metric
Exporter](../sdk.md#push-metric-exporter) which sends metrics via the
[OpenTelemetry Protocol](../../protocol/README.md).
Expand Down Expand Up @@ -37,12 +35,10 @@ then by default:

## Additional Configuration

**Status**: [Mixed](../../document-status.md)

| Name | Status | Description | Default |
|-----------------------------------------------------|--------------|---------------------------------------------------------------------|-----------------------------|
| `OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE` | Stable | The aggregation temporality to use on the basis of instrument kind. | `cumulative` |
| `OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION` | Experimental | The default aggregation to use for histogram instruments. | `explicit_bucket_histogram` |
| Name | Description | Default |
|------------------------------------------------------------|---------------------------------------------------------------------|-----------------------------|
| `OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE` | The aggregation temporality to use on the basis of instrument kind. | `cumulative` |
| `OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION` | The default aggregation to use for histogram instruments. | `explicit_bucket_histogram` |

The recognized (case-insensitive) values for `OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE` are:

Expand Down