Skip to content

Commit

Permalink
Remove the zero bucket boundary from http.server.request.duration and
Browse files Browse the repository at this point in the history
`http.client.request.duration`
  • Loading branch information
trask committed Sep 12, 2023
1 parent 58c52c5 commit 2774c81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ release.
- `state` to `system.network.state`
- Rename attributes for `system.processes.*` metrics:
- `status` to `system.processes.status`
- BREAKING: Remove the zero bucket boundary from `http.server.request.duration`
and `http.client.request.duration`.
([#999](https://github.com/open-telemetry/semantic-conventions/pull/999))

## v1.21.0 (2023-07-13)

Expand Down
4 changes: 2 additions & 2 deletions docs/http/http-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ When this metric is reported alongside an HTTP server span, the metric value SHO

This metric SHOULD be specified with
[`ExplicitBucketBoundaries`](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/api.md#instrument-advice)
of `[ 0, 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]`.
of `[ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]`.

<!-- semconv metric.http.server.request.duration(metric_table) -->
| Name | Instrument Type | Unit (UCUM) | Description |
Expand Down Expand Up @@ -445,7 +445,7 @@ When this metric is reported alongside an HTTP client span, the metric value SHO

This metric SHOULD be specified with
[`ExplicitBucketBoundaries`](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.22.0/specification/metrics/api.md#instrument-advice)
of `[ 0, 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]`.
of `[ 0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1, 2.5, 5, 7.5, 10 ]`.

<!-- semconv metric.http.client.request.duration(metric_table) -->
| Name | Instrument Type | Unit (UCUM) | Description |
Expand Down

0 comments on commit 2774c81

Please sign in to comment.