-
Notifications
You must be signed in to change notification settings - Fork 890
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
184 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,21 +8,21 @@ groups: | |
These conventions can be used for http and https schemes | ||
and various HTTP versions like 1.1, 2 and SPDY. | ||
attributes: | ||
- id: request_content_length | ||
- id: request.body.bytes | ||
type: int | ||
brief: > | ||
The size of the request payload body in bytes. This is the number of bytes transferred excluding headers and | ||
is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) | ||
header. For requests using transport encoding, this should be the compressed size. | ||
examples: 3495 | ||
- id: response_content_length | ||
- id: response.body.bytes | ||
type: int | ||
brief: > | ||
The size of the response payload body in bytes. This is the number of bytes transferred excluding headers and | ||
is often, but not always, present as the [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length) | ||
header. For requests using transport encoding, this should be the compressed size. | ||
examples: 3495 | ||
- ref: http.method | ||
- ref: http.request.method | ||
sampling_relevant: true | ||
- ref: net.sock.peer.addr | ||
- ref: net.sock.peer.port | ||
|
@@ -38,17 +38,6 @@ groups: | |
span_kind: client | ||
brief: 'Semantic Convention for HTTP Client' | ||
attributes: | ||
- id: url | ||
type: string | ||
requirement_level: required | ||
brief: > | ||
Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`. | ||
Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless. | ||
note: > | ||
`http.url` MUST NOT contain credentials passed via URL in form of `https://username:[email protected]/`. | ||
In such case the attribute's value should be `https://www.example.com/`. | ||
sampling_relevant: true | ||
examples: ['https://www.foo.bar/search?q=OpenTelemetry#SemConv'] | ||
- id: resend_count | ||
type: int | ||
brief: > | ||
|
@@ -91,12 +80,6 @@ groups: | |
span_kind: server | ||
brief: 'Semantic Convention for HTTP Server' | ||
attributes: | ||
- id: target | ||
type: string | ||
brief: 'The full request target as passed in a HTTP request line or equivalent.' | ||
requirement_level: required | ||
sampling_relevant: true | ||
examples: ['/users/12314/?q=ddds'] | ||
- id: client_ip | ||
type: string | ||
brief: > | ||
|
@@ -115,7 +98,7 @@ groups: | |
one is at least somewhat confident that the address is not that of | ||
the closest proxy. | ||
examples: '83.164.160.102' | ||
- ref: http.scheme | ||
- ref: http.request.method | ||
sampling_relevant: true | ||
- ref: net.host.name | ||
requirement_level: required | ||
|
@@ -149,3 +132,5 @@ groups: | |
- ref: net.sock.host.addr | ||
requirement_level: opt_in | ||
- ref: net.sock.host.port | ||
- ref: url.path | ||
- ref: url.query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
groups: | ||
- id: url | ||
brief: "Describes URL." | ||
type: attribute_group | ||
prefix: url | ||
attributes: | ||
- id: scheme | ||
type: string | ||
brief: 'The URI scheme identifying the used protocol.' | ||
examples: ["http", "https"] | ||
- id: full | ||
type: string | ||
brief: > | ||
Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`. | ||
Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless. | ||
note: > | ||
`url.full` MUST NOT contain credentials passed via URL in form of `https://username:[email protected]/`. | ||
In such case the attribute's value should be `https://www.example.com/`. | ||
examples: ['https://www.foo.bar/search?q=OpenTelemetry#SemConv'] | ||
- id: path | ||
type: string | ||
brief: 'The URI path' | ||
examples: ['/search'] | ||
- id: query | ||
type: string | ||
brief: 'The URI query' | ||
examples: ["?q=OpenTelemetry#SemConv"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.