The fragments present in the URI. Note that this contains the leading # character, while the `url.fragment` attribute does not.
Example#details
Raw JSON
{
"key": "http.fragment",
"brief": "The fragments present in the URI. Note that this contains the leading # character, while the `url.fragment` attribute does not.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": "#details"
}
The query string present in the URL. Note that this contains the leading ? character, while the `url.query` attribute does not.
PII ReasonQuery string values can contain sensitive information. Clients should attempt to scrub parameters that might contain sensitive information.
Example?foo=bar&bar=baz
Raw JSON
{
"key": "http.query",
"brief": "The query string present in the URL. Note that this contains the leading ? character, while the `url.query` attribute does not.",
"type": "string",
"pii": {
"key": "maybe",
"reason": "Query string values can contain sensitive information. Clients should attempt to scrub parameters that might contain sensitive information."
},
"is_in_otel": false,
"example": "?foo=bar&bar=baz"
}
The UNIX timestamp representing the time immediately before the user agent starts establishing the connection to the server to retrieve the resource.
Example1732829555.111
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.connect_start",
"brief": "The UNIX timestamp representing the time immediately before the user agent starts establishing the connection to the server to retrieve the resource.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.111,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the time immediately after the browser finishes establishing the connection to the server to retrieve the resource. The timestamp value includes the time interval to establish the transport connection, as well as other time intervals such as TLS handshake and SOCKS authentication.
Example1732829555.15
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.connection_end",
"brief": "The UNIX timestamp representing the time immediately after the browser finishes establishing the connection to the server to retrieve the resource. The timestamp value includes the time interval to establish the transport connection, as well as other time intervals such as TLS handshake and SOCKS authentication.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.15,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the time immediately after the browser finishes the domain-name lookup for the resource.
Example1732829555.201
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.domain_lookup_end",
"brief": "The UNIX timestamp representing the time immediately after the browser finishes the domain-name lookup for the resource.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.201,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the time immediately before the browser starts the domain name lookup for the resource.
Example1732829555.322
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.domain_lookup_start",
"brief": "The UNIX timestamp representing the time immediately before the browser starts the domain name lookup for the resource.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.322,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the time immediately before the browser starts to fetch the resource.
Example1732829555.389
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.fetch_start",
"brief": "The UNIX timestamp representing the time immediately before the browser starts to fetch the resource.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.389,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the timestamp immediately after receiving the last byte of the response of the last redirect
Example1732829558.502
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.redirect_end",
"brief": "The UNIX timestamp representing the timestamp immediately after receiving the last byte of the response of the last redirect",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829558.502,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the start time of the fetch which that initiates the redirect.
Example1732829555.495
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.redirect_start",
"brief": "The UNIX timestamp representing the start time of the fetch which that initiates the redirect.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.495,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.
Example1732829555.51
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.request_start",
"brief": "The UNIX timestamp representing the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.51,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the time immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.
Example1732829555.89
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.response_end",
"brief": "The UNIX timestamp representing the time immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.89,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.
Example1732829555.7
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.response_start",
"brief": "The UNIX timestamp representing the time immediately before the browser starts requesting the resource from the server, cache, or local resource. If the transport connection fails and the browser retires the request, the value returned will be the start of the retry request.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.7,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the time immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, the property returns zero.
Example1732829555.73
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.secure_connection_start",
"brief": "The UNIX timestamp representing the time immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, the property returns zero.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829555.73,
"sdks": [
"javascript-browser"
]
}
The time in seconds from the browser's timeorigin to when the first byte of the request's response was received. See https://web.dev/articles/ttfb#measure-resource-requests
Example1.032
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.time_to_first_byte",
"brief": "The time in seconds from the browser's timeorigin to when the first byte of the request's response was received. See https://web.dev/articles/ttfb#measure-resource-requests",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1.032,
"sdks": [
"javascript-browser"
]
}
The UNIX timestamp representing the timestamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running.
Example1732829553.68
SDKsjavascript-browser
Raw JSON
{
"key": "http.request.worker_start",
"brief": "The UNIX timestamp representing the timestamp immediately before dispatching the FetchEvent if a Service Worker thread is already running, or immediately before starting the Service Worker thread if it is not already running.",
"type": "double",
"pii": {
"key": "maybe"
},
"is_in_otel": false,
"example": 1732829553.68,
"sdks": [
"javascript-browser"
]
}
{
"key": "http.response.header.content-length",
"brief": "The size of the message body sent to the recipient (in bytes)",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "http.response.header.custom-header=['foo', 'bar']",
"alias": [
"http.response_content_length",
"http.response.body.size"
]
}
The matched route, that is, the path template in the format used by the respective server framework.
Example/users/:id
Aliasesurl.template
Raw JSON
{
"key": "http.route",
"brief": "The matched route, that is, the path template in the format used by the respective server framework.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "/users/:id",
"alias": [
"url.template"
]
}
Deprecated Attributes
These attributes are deprecated and should not be used in new code.
See each attribute for migration guidance.
This attribute is being deprecated in favor of url.path and url.query
Raw JSON
{
"key": "http.target",
"brief": "The pathname and query string of the URL.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "/test?foo=bar#buzz",
"deprecation": {
"replacement": "url.path",
"reason": "This attribute is being deprecated in favor of url.path and url.query",
"_status": null
}
}
Value of the HTTP User-Agent header sent by the client.
ExampleMozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1
Aliasesuser_agent.original
Use user_agent.original instead.
Raw JSON
{
"key": "http.user_agent",
"brief": "Value of the HTTP User-Agent header sent by the client.",
"type": "string",
"pii": {
"key": "maybe"
},
"is_in_otel": true,
"example": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1",
"deprecation": {
"replacement": "user_agent.original",
"_status": null
},
"alias": [
"user_agent.original"
]
}