Package io.opentelemetry.semconv
Class UrlAttributes
java.lang.Object
io.opentelemetry.semconv.UrlAttributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String>The URI fragment componentstatic final io.opentelemetry.api.common.AttributeKey<String>Absolute URL describing a network resource according to RFC3986static final io.opentelemetry.api.common.AttributeKey<String>The URI path componentstatic final io.opentelemetry.api.common.AttributeKey<String>The URI query componentstatic final io.opentelemetry.api.common.AttributeKey<String>The URI scheme component identifying the used protocol. -
Method Summary
-
Field Details
-
URL_FRAGMENT
The URI fragment component -
URL_FULL
Absolute URL describing a network resource according to RFC3986Notes:
- 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.fullMUST NOT contain credentials passed via URL in form ofhttps://username:password@www.example.com/. In such case username and password SHOULD be redacted and attribute's value SHOULD behttps://REDACTED:REDACTED@www.example.com/.url.fullSHOULD capture the absolute URL when it is available (or can be reconstructed). Sensitive content provided inurl.fullSHOULD be scrubbed when instrumentations can identify it.
- For network calls, URL usually has
-
URL_PATH
The URI path componentNotes:
- Sensitive content provided in
url.pathSHOULD be scrubbed when instrumentations can identify it.
- Sensitive content provided in
-
URL_QUERY
The URI query componentNotes:
- Sensitive content provided in
url.querySHOULD be scrubbed when instrumentations can identify it.
- Sensitive content provided in
-
URL_SCHEME
The URI scheme component identifying the used protocol.
-