Skip to content

Commit 0337d68

Browse files
lcianlmolkova
andauthored
[chore] Clarify deprecation of http.flavor (#2755)
Co-authored-by: Liudmila Molkova <[email protected]>
1 parent 8bdb874 commit 0337d68

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/registry/attributes/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Describes deprecated HTTP attributes.
113113
| Attribute | Type | Description | Examples | Stability |
114114
|---|---|---|---|---|
115115
| <a id="http-client-ip" href="#http-client-ip">`http.client_ip`</a> | string | Deprecated, use `client.address` instead. | `83.164.160.102` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `client.address`. |
116-
| <a id="http-flavor" href="#http-flavor">`http.flavor`</a> | string | Deprecated, use `network.protocol.name` instead. | `1.0`; `1.1`; `2.0` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `network.protocol.name`. |
116+
| <a id="http-flavor" href="#http-flavor">`http.flavor`</a> | string | Deprecated, use `network.protocol.name` and `network.protocol.version` instead. | `1.0`; `1.1`; `2.0` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Split into `network.protocol.name` and `network.protocol.version` |
117117
| <a id="http-host" href="#http-host">`http.host`</a> | string | Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. | `www.example.org` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by one of `server.address`, `client.address` or `http.request.header.host`, depending on the usage. |
118118
| <a id="http-method" href="#http-method">`http.method`</a> | string | Deprecated, use `http.request.method` instead. | `GET`; `POST`; `HEAD` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `http.request.method`. |
119119
| <a id="http-request-content-length" href="#http-request-content-length">`http.request_content_length`</a> | int | Deprecated, use `http.request.header.content-length` instead. | `3495` | ![Deprecated](https://img.shields.io/badge/-deprecated-red)<br>Replaced by `http.request.header.content-length`. |

model/http/deprecated/registry-deprecated.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ groups:
128128
value: 'QUIC'
129129
brief: 'QUIC protocol.'
130130
stability: development
131-
brief: 'Deprecated, use `network.protocol.name` instead.'
131+
brief: 'Deprecated, use `network.protocol.name` and `network.protocol.version` instead.'
132132
deprecated:
133-
reason: renamed
134-
renamed_to: network.protocol.name
133+
reason: uncategorized
134+
note: "Split into `network.protocol.name` and `network.protocol.version`"
135135
stability: development
136136
- id: http.user_agent
137137
type: string

0 commit comments

Comments
 (0)