You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Also note that the `sent_at` header replaces the `sentry_timestamp` key previously set in authorization headers,
174
174
which has now been fully deprecated. You should only send `sent_at`, and not `sentry_timestamp`.*
@@ -190,7 +190,7 @@ There are two generic headers for every Item:
190
190
191
191
`length`
192
192
193
-
: *int, recommended.* The length of the payload in bytes. If no `length` is
193
+
**int, recommended.** The length of the payload in bytes. If no `length` is
194
194
specified, the payload implicitly goes to the next newline. For payloads
195
195
containing newline characters, the `length` must be specified.
196
196
@@ -390,7 +390,7 @@ file. It is always associated to an event or transaction.
390
390
391
391
`attachment_type`
392
392
393
-
: *String, optional.* The special type of this attachment. Possible values are:
393
+
**String, optional.** The special type of this attachment. Possible values are:
394
394
395
395
-**`event.attachment` (default)**: A standard attachment without special
396
396
meaning.
@@ -406,7 +406,7 @@ file. It is always associated to an event or transaction.
406
406
407
407
`content_type`
408
408
409
-
: *String, optional.* The content type of the attachment payload. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
409
+
**String, optional.** The content type of the attachment payload. Any [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) may be used; the default is `application/octet-stream`.
410
410
411
411
### Session
412
412
@@ -491,15 +491,15 @@ The item contains a user feedback / user report JSON payload:
491
491
492
492
`email`
493
493
494
-
: *String, recommended.* The email of the user.
494
+
**String, recommended.** The email of the user.
495
495
496
496
`name`
497
497
498
-
: *String, recommended.* The name of the user.
498
+
**String, recommended.** The name of the user.
499
499
500
500
`comments`
501
501
502
-
: *String, recommended.* Comments of the user about what happened.
502
+
**String, recommended.** Comments of the user about what happened.
503
503
504
504
**Constraints:**
505
505
@@ -577,7 +577,7 @@ details.
577
577
578
578
`length`
579
579
580
-
: **integer, required.** The size of the Replay recording payload
580
+
**integer, required.** The size of the Replay recording payload
Copy file name to clipboardExpand all lines: develop-docs/sdk/event-payloads/replay-recording.mdx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The recording event is an object with the following required properties:
8
8
9
9
`type`
10
10
11
-
: **EventTypeEnum** The `type` describes what type of event it is. See the enum below.
11
+
**EventTypeEnum** The `type` describes what type of event it is. See the enum below.
12
12
13
13
```
14
14
EventTypeEnum {
@@ -24,23 +24,23 @@ EventTypeEnum {
24
24
25
25
`timestamp`
26
26
27
-
: **float** The timestamp (in milliseconds) at which the event occurs
27
+
**float** The timestamp (in milliseconds) at which the event occurs
28
28
29
29
`data`
30
30
31
-
: **unknown**`data` schema is dependent on the `type`. View the [base types](https://github.com/rrweb-io/rrweb/blob/master/packages/types/src/index.ts) or Sentry's [custom types](https://github.com/getsentry/sentry-javascript/blob/master/packages/replay-internal/src/types/replayFrame.ts).
31
+
**unknown**`data` schema is dependent on the `type`. View the [base types](https://github.com/rrweb-io/rrweb/blob/master/packages/types/src/index.ts) or Sentry's [custom types](https://github.com/getsentry/sentry-javascript/blob/master/packages/replay-internal/src/types/replayFrame.ts).
32
32
33
33
## Custom Events
34
34
35
35
Sentry custom events augment the replay with additional context in order to help the user debug issues. Custom events have the following format for the `data` property of the event:
36
36
37
37
`tag`
38
38
39
-
: **string** The tag is used to describe the "type" of custom event. This will determine how the event gets used in the UI.
39
+
**string** The tag is used to describe the "type" of custom event. This will determine how the event gets used in the UI.
40
40
41
41
`payload`
42
42
43
-
: **object** The `payload` is similar to the upper level `data` attribute, whose schema is dependent on the `tag`.
43
+
**object** The `payload` is similar to the upper level `data` attribute, whose schema is dependent on the `tag`.
44
44
45
45
In addition to the TypeScript references linked above, the following sections will describe the expected `payload` for custom events.
0 commit comments