Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions generated/attributes/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
- [http.request.fetch_start](#httprequestfetch_start)
- [http.request.header.\<key\>](#httprequestheaderkey)
- [http.request.method](#httprequestmethod)
- [http.request.redirect_end](#httprequestredirect_end)
- [http.request.redirect_start](#httprequestredirect_start)
- [http.request.request_start](#httprequestrequest_start)
- [http.request.resend_count](#httprequestresend_count)
- [http.request.response_end](#httprequestresponse_end)
- [http.request.response_start](#httprequestresponse_start)
- [http.request.secure_connection_start](#httprequestsecure_connection_start)
- [http.request.worker_start](#httprequestworker_start)
- [http.response.body.size](#httpresponsebodysize)
- [http.response.header.\<key\>](#httpresponseheaderkey)
- [http.response.header.content-length](#httpresponseheadercontentlength)
Expand Down Expand Up @@ -153,6 +155,17 @@ The HTTP method used.
| Example | `GET` |
| Aliases | `method`, `http.method` |

### http.request.redirect_end

The UNIX timestamp representing the timestamp immediately after receiving the last byte of the response of the last redirect

| Property | Value |
| --- | --- |
| Type | `double` |
| Has PII | false |
| Exists in OpenTelemetry | No |
| Example | `1732829558` |

### http.request.redirect_start

The UNIX timestamp representing the start time of the fetch which that initiates the redirect.
Expand Down Expand Up @@ -219,6 +232,17 @@ The UNIX timestamp representing the time immediately before the browser starts t
| Exists in OpenTelemetry | No |
| Example | `1732829555` |

### http.request.worker_start

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.

| Property | Value |
| --- | --- |
| Type | `double` |
| Has PII | false |
| Exists in OpenTelemetry | No |
| Example | `1732829553` |

### http.response.body.size

The encoded body size of the response (in bytes).
Expand Down
44 changes: 44 additions & 0 deletions javascript/sentry-conventions/src/attributes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3238,6 +3238,26 @@ export const HTTP_REQUEST_METHOD = 'http.request.method';
*/
export type HTTP_REQUEST_METHOD_TYPE = string;

// Path: model/attributes/http/http__request__redirect_end.json

/**
* The UNIX timestamp representing the timestamp immediately after receiving the last byte of the response of the last redirect `http.request.redirect_end`
*
* Attribute Value Type: `number` {@link HTTP_REQUEST_REDIRECT_END_TYPE}
*
* Contains PII: false
*
* Attribute defined in OTEL: No
*
* @example 1732829558
*/
export const HTTP_REQUEST_REDIRECT_END = 'http.request.redirect_end';

/**
* Type for {@link HTTP_REQUEST_REDIRECT_END} http.request.redirect_end
*/
export type HTTP_REQUEST_REDIRECT_END_TYPE = number;

// Path: model/attributes/http/http__request__redirect_start.json

/**
Expand Down Expand Up @@ -3358,6 +3378,26 @@ export const HTTP_REQUEST_SECURE_CONNECTION_START = 'http.request.secure_connect
*/
export type HTTP_REQUEST_SECURE_CONNECTION_START_TYPE = number;

// Path: model/attributes/http/http__request__worker_start.json

/**
* 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. `http.request.worker_start`
*
* Attribute Value Type: `number` {@link HTTP_REQUEST_WORKER_START_TYPE}
*
* Contains PII: false
*
* Attribute defined in OTEL: No
*
* @example 1732829553
*/
export const HTTP_REQUEST_WORKER_START = 'http.request.worker_start';

/**
* Type for {@link HTTP_REQUEST_WORKER_START} http.request.worker_start
*/
export type HTTP_REQUEST_WORKER_START_TYPE = number;

// Path: model/attributes/http/http__response__body__size.json

/**
Expand Down Expand Up @@ -6618,12 +6658,14 @@ export type Attributes = {
[HTTP_REQUEST_FETCH_START]?: HTTP_REQUEST_FETCH_START_TYPE;
[HTTP_REQUEST_HEADER_KEY]?: HTTP_REQUEST_HEADER_KEY_TYPE;
[HTTP_REQUEST_METHOD]?: HTTP_REQUEST_METHOD_TYPE;
[HTTP_REQUEST_REDIRECT_END]?: HTTP_REQUEST_REDIRECT_END_TYPE;
[HTTP_REQUEST_REDIRECT_START]?: HTTP_REQUEST_REDIRECT_START_TYPE;
[HTTP_REQUEST_REQUEST_START]?: HTTP_REQUEST_REQUEST_START_TYPE;
[HTTP_REQUEST_RESEND_COUNT]?: HTTP_REQUEST_RESEND_COUNT_TYPE;
[HTTP_REQUEST_RESPONSE_END]?: HTTP_REQUEST_RESPONSE_END_TYPE;
[HTTP_REQUEST_RESPONSE_START]?: HTTP_REQUEST_RESPONSE_START_TYPE;
[HTTP_REQUEST_SECURE_CONNECTION_START]?: HTTP_REQUEST_SECURE_CONNECTION_START_TYPE;
[HTTP_REQUEST_WORKER_START]?: HTTP_REQUEST_WORKER_START_TYPE;
[HTTP_RESPONSE_BODY_SIZE]?: HTTP_RESPONSE_BODY_SIZE_TYPE;
[HTTP_RESPONSE_HEADER_KEY]?: HTTP_RESPONSE_HEADER_KEY_TYPE;
[HTTP_RESPONSE_HEADER_CONTENT_LENGTH]?: HTTP_RESPONSE_HEADER_CONTENT_LENGTH_TYPE;
Expand Down Expand Up @@ -6900,12 +6942,14 @@ export type FullAttributes = {
[HTTP_REQUEST_FETCH_START]?: HTTP_REQUEST_FETCH_START_TYPE;
[HTTP_REQUEST_HEADER_KEY]?: HTTP_REQUEST_HEADER_KEY_TYPE;
[HTTP_REQUEST_METHOD]?: HTTP_REQUEST_METHOD_TYPE;
[HTTP_REQUEST_REDIRECT_END]?: HTTP_REQUEST_REDIRECT_END_TYPE;
[HTTP_REQUEST_REDIRECT_START]?: HTTP_REQUEST_REDIRECT_START_TYPE;
[HTTP_REQUEST_REQUEST_START]?: HTTP_REQUEST_REQUEST_START_TYPE;
[HTTP_REQUEST_RESEND_COUNT]?: HTTP_REQUEST_RESEND_COUNT_TYPE;
[HTTP_REQUEST_RESPONSE_END]?: HTTP_REQUEST_RESPONSE_END_TYPE;
[HTTP_REQUEST_RESPONSE_START]?: HTTP_REQUEST_RESPONSE_START_TYPE;
[HTTP_REQUEST_SECURE_CONNECTION_START]?: HTTP_REQUEST_SECURE_CONNECTION_START_TYPE;
[HTTP_REQUEST_WORKER_START]?: HTTP_REQUEST_WORKER_START_TYPE;
[HTTP_RESPONSE_BODY_SIZE]?: HTTP_RESPONSE_BODY_SIZE_TYPE;
[HTTP_RESPONSE_HEADER_KEY]?: HTTP_RESPONSE_HEADER_KEY_TYPE;
[HTTP_RESPONSE_HEADER_CONTENT_LENGTH]?: HTTP_RESPONSE_HEADER_CONTENT_LENGTH_TYPE;
Expand Down
11 changes: 11 additions & 0 deletions model/attributes/http/http__request__redirect_end.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"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": "false"
},
"is_in_otel": false,
"example": 1732829558,
"sdks": ["javascript-browser"]
}
11 changes: 11 additions & 0 deletions model/attributes/http/http__request__worker_start.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"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": "false"
},
"is_in_otel": false,
"example": 1732829553,
"sdks": ["javascript-browser"]
}