Skip to content

Commit 2168c58

Browse files
authored
Clarify message truncation (#13068)
1 parent 966a5a0 commit 2168c58

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

develop-docs/sdk/data-model/event-payloads/index.mdx

+1-6
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,7 @@ Fingerprints](https://docs.sentry.io/data-management/event-grouping/).
304304
## Size Limits
305305

306306
Event ingestion imposes limits on the size of events.
307-
These limits are subject to future change and defined currently as:
308-
309-
- *1MB* decompressed (and `200KB` compressed) for events of type `error`
310-
- *1MB* decompressed (and `200KB` compressed) for events of type `transaction`
311-
312-
Sessions, client reports, replays, check-ins, and profiles are not events and have different size limits. See [Envelope Size Limits](/sdk/data-model/envelopes/#size-limits).
307+
See [Envelope Size Limits](/sdk/data-model/envelopes/#size-limits) for futher details.
313308

314309
## Core Interfaces
315310

develop-docs/sdk/data-model/event-payloads/message.mdx

+5-3
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ help to group similar messages into the same issue.
1414
: **Required**. The fully formatted message. If missing, Sentry will try to
1515
interpolate the message.
1616

17-
It must not exceed 8192 characters. Longer messages will be truncated. Sentry
18-
also accepts a message where this is not set to support legacy SDKs.
17+
A limit of 8192 characters is exposed in Relay and longer messages will be truncated.
18+
SDKs should not enforce this limit.
19+
Sentry also accepts a message where this is not set to support legacy SDKs.
1920

2021
`message`
2122

2223
: _Optional_. The raw message string (uninterpolated).
2324

24-
It must not exceed 8192 characters. Longer messages will be truncated.
25+
A limit of 8192 characters is exposed in Relay and longer messages will be truncated.
26+
SDKs should not enforce this limit.
2527

2628
`params`
2729

0 commit comments

Comments
 (0)