Attribute | Type | Description | Examples |
---|---|---|---|
url.fragment |
string | The URI fragment component |
SemConv |
url.full |
string | Absolute URL describing a network resource according to RFC3986 [1] |
https://www.foo.bar/search?q=OpenTelemetry#SemConv ; //localhost |
url.path |
string | The URI path component |
/search |
url.query |
string | The URI query component [2] |
q=OpenTelemetry |
url.scheme |
string | The URI scheme component identifying the used protocol. |
https ; ftp ; telnet |
[1]: For network calls, URL usually has scheme://host[:port][path][?query][#fragment]
format, where the fragment is not transmitted over HTTP, but if it is known, it SHOULD be included nevertheless.
url.full
MUST NOT contain credentials passed via URL in form of https://username:password@www.example.com/
. In such case username and password SHOULD be redacted and attribute's value SHOULD be https://REDACTED:REDACTED@www.example.com/
.
url.full
SHOULD capture the absolute URL when it is available (or can be reconstructed) and SHOULD NOT be validated or modified except for sanitizing purposes.
[2]: Sensitive content provided in query string SHOULD be scrubbed when instrumentations can identify it.