Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.98 KB

File metadata and controls

22 lines (18 loc) · 1.98 KB

URL

URL Attributes

Attribute Type Description Examples
url.fragment string Stable
The URI fragment component
SemConv
url.full string Stable
Absolute URL describing a network resource according to RFC3986 [1]
https://www.foo.bar/search?q=OpenTelemetry#SemConv; //localhost
url.path string Stable
The URI path component
/search
url.query string Stable
The URI query component [2]
q=OpenTelemetry
url.scheme string Stable
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.