-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Clarification around size limits and stats (#9911)
* adds link to stats, adds size limits drop reason * splits out size limits page under data mgmt * temp remove new file for merge * merges redesign & rewires/recreates content update * Update size-limits.mdx Added some headings to make this skimmable * Update docs/product/stats/index.mdx * Update size-limits.mdx * Update index.mdx fix link --------- Co-authored-by: vivianyentran <[email protected]>
- Loading branch information
1 parent
e96a7c7
commit f9bd16f
Showing
3 changed files
with
36 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
title: Size Limits | ||
sidebar_order: 7 | ||
description: "Learn about the size limits for events and attachments, and how to avoid exceeding them." | ||
--- | ||
|
||
Sentry imposes size limits on events, attachments, requests, and various event fields. | ||
|
||
## Behavior | ||
|
||
The following describes how Sentry treats size limits: | ||
|
||
- Events, attachments, and requests exceeding payload size limits are immediately dropped with a `413 Payload Too Large` error. | ||
- Sentry allows compressed content encoding, and applies separate limits before and after decompression. | ||
- Events that exceed 200KB compressed or 1MB decompressed will be rejected. | ||
- Minidump uploads that exceeed 20MB compressed or 100MB decompressed (for all files combined) will also be rejected. | ||
- Event fields exceeding the individual size limits are trimmed and truncated afterwards. | ||
- The number of events rejected due to size limits is counted towards the _Dropped_ category in [usage stats](/product/stats/#usage-stats). | ||
|
||
## Recommendations | ||
|
||
To avoid using up your attachments quota — which is based on size and not number of instances of attachments data sent — or having the event dropped entirely, consider limiting the size of values passed into Sentry's APIs. For example, if your application attaches application state or request bodies to Sentry events, truncate them first. | ||
|
||
## Size Limit References | ||
|
||
Sentry's exact size limits may change over time. For more information, please refer to the following resources: | ||
|
||
- [Envelope Size Limits](https://develop.sentry.dev/sdk/envelopes/#size-limits) | ||
- [Store Endpoint Size Limits](https://develop.sentry.dev/sdk/store/#size-limits) | ||
- [Minidump Size Limits](/platforms/native/guides/minidumps/#size-limits) | ||
- [Variable Size Limits](https://develop.sentry.dev/sdk/data-handling/#variable-size) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters