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
Copy file name to clipboardExpand all lines: develop-docs/development/database-migrations/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ sidebar_order: 30
5
5
6
6
Django migrations are how we handle changes to the database in Sentry.
7
7
8
-
Django migration official docs: [https://docs.djangoproject.com/en/2.2/topics/migrations/](https://docs.djangoproject.com/en/2.2/topics/migrations/) . These will cover most things you need to understand what a migration is doing.
8
+
Django migration official docs: [https://docs.djangoproject.com/en/5.1/topics/migrations/](https://docs.djangoproject.com/en/5.1/topics/migrations/) . These will cover most things you need to understand what a migration is doing.
Copy file name to clipboardExpand all lines: develop-docs/development/environment/index.mdx
-14Lines changed: 0 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,20 +55,6 @@ You can create other users with `sentry createuser`.
55
55
56
56
Please refer to [Frontend Development Server](/frontend/development-server/) and [Backend Development Server](/backend/development-server/) for alternative ways to bring up the Sentry UI.
57
57
58
-
### Enabling HTTPS
59
-
60
-
You may wish to run the development server in HTTPS mode. This can be done by generating and installing local certificates.
61
-
62
-
We will be using [mkcert](https://github.com/FiloSottile/mkcert) to create and install a locally-trusted, development certificate. The following will install `mkcert` and then create and install the local certificates.
63
-
64
-
```shell
65
-
brew install mkcert
66
-
brew install nss # if you use Firefox
67
-
yarn mkcert-localhost
68
-
```
69
-
70
-
Running `sentry devserver` will automatically use HTTPS when the certificates have been installed.
71
-
72
58
### Ingestion Pipeline (Relay) aka Sending Events to your Dev Environment
73
59
74
60
<Linkto="/services/relay/">Relay</Link> and the ingest workers are not started by default. Follow the instructions below to start them so you can send events to your dev environment Sentry instance:
Copy file name to clipboardExpand all lines: docs/platforms/apple/common/configuration/watchdog-terminations.mdx
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,15 @@ description: "Learn how to turn off Watchdog Termination tracking"
13
13
14
14
This integration tracks [watchdog terminations](https://developer.apple.com/documentation/xcode/addressing-watchdog-terminations) based on heuristics. This feature is available for iOS, tvOS, and Mac Catalyst, works only if the application was in the foreground, and doesn't track watchdog terminations for unit tests.
15
15
16
-
When a typical unhandled error occurs, the Apple SDK writes a report to disk with the current state of your application, with details like the stack trace, tags, breadcrumbs, and so on, before the app terminates. When the watchdog terminates your app this happens without further notice, which means the SDK can't write a report to disk. A common reason the watchdog can terminate your app is an Out Of Memory problem. If the app is terminated because it hangs, we don't create a watchdog termination event, but instead an `AppHangs` event is created.
16
+
When a typical unhandled error occurs, the Apple SDK writes a report to disk before the app terminates. It includes the current state of your application with details like the stack trace, tags, breadcrumbs, and so on.
17
+
18
+
The watchdog terminates your app without notice, which means the SDK can't write a report to disk.
19
+
A common reason for the watchdog to terminate your app is an Out Of Memory problem.
20
+
21
+
Note, that there are some security-related types of crashes where the OS immediately terminates the app. These are usually infrequent, and include stack buffer overflows or exceptions with a termination reason related to code signing. Third-party libraries like Sentry can't report these incidents.
22
+
23
+
Those types of crashes can sometimes be visible in the [Xcode Organizer](https://developer.apple.com/documentation/xcode/acquiring-crash-reports-and-diagnostic-logs), though.
24
+
If the app is terminated because it hangs, we won't create a watchdog termination event. An `AppHangs` event will be created instead.
17
25
18
26
As a result, in the Apple SDK, we track watchdog terminations during the app start based on heuristics, but getting the state of the app when a watchdog termination occurs is challenging. The SDK adds breadcrumbs to watchdog termination events by appending the breadcrumbs to an open file, which should have a marginal impact on your app's performance. Still, it skips adding some frequently changing context to avoid extra I/O, such as free memory, free storage, device orientation, charging status, battery level, etc.
Copy file name to clipboardExpand all lines: docs/platforms/native/guides/minidumps/index.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,8 @@ curl -X POST \
111
111
For the full list of supported values, see [_Event Payloads_](https://develop.sentry.dev/sdk/event-payloads/) and linked
112
112
documents.
113
113
114
+
If your minidump's size exceeds the [limits](#size-limits) in the next section, you can compress it using `gzip`, `zstd`, `bzip2` or `xz` and refer the `upload_file_minidump` to the compressed file instead of the plain minidump.
115
+
114
116
## Size Limits
115
117
116
118
Event ingestion imposes limits on the size and number of fields in multipart
@@ -84,6 +85,21 @@ Configure the way Sentry names transactions:
84
85
85
86
The default is `"handler_name"`.
86
87
88
+
### `failed_request_status_codes`
89
+
90
+
A `set` of integers that will determine when an `HTTPException` should be reported to Sentry. The `HTTPException` is reported to Sentry if its status code is contained in the `failed_request_status_codes` set.
91
+
92
+
Examples of valid `failed_request_status_codes`:
93
+
94
+
-`{500}` will only report `HTTPException` with status 500 (i.e. `HTTPInternalServerError`).
95
+
-`{400, *range(500, 600)}` will report `HTTPException` with status 400 (i.e. `HTTPBadRequest`) as well as those in the 5xx range.
96
+
-`set()` (the empty set) will not report any `HTTPException` to Sentry.
97
+
98
+
The default is `{*range(500, 600)}`, meaning that any `HTTPException` with a status in the 5xx range is reported to Sentry.
99
+
100
+
Regardless of how `failed_request_status_codes` is set, any exceptions raised by the handler, which are not of type `HTTPException` (or a subclass) are reported to Sentry. For example, if your request handler raises an unhandled `AttributeError`, the `AttributeError` gets reported to Sentry, even if you have set `failed_request_status_codes=set()`.
0 commit comments