Skip to content

Commit 494f6d2

Browse files
feat(apple): Add docs for enableSigterm (#10216)
Add docs for the new enableSigterm options available on Sentry Cocoa 8.27.0 and above. Co-authored-by: vivianyentran <20403606+vivianyentran@users.noreply.github.com>
1 parent 6bbddbe commit 494f6d2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/platforms/apple/common/configuration/options.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,17 @@ This option is turned on by default.
8787

8888
Grouping in Sentry is different for events with stack traces and without. As a result, you will get new groups as you enable or disable this flag for certain events.
8989

90+
</ConfigKey>
91+
92+
<ConfigKey name="enable-sigterm-reporting">
93+
94+
_(New in [sentry-cocoa version 8.27.0](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8270))_
95+
96+
When enabled, the SDK reports SIGTERM signals to Sentry.
97+
98+
It's crucial for developers to understand that the OS sends a SIGTERM to their app as a prelude to a graceful shutdown, before resorting to a SIGKILL. This SIGKILL, which your app can't catch or ignore, is a direct order to terminate your app's process immediately. Developers should be aware that their app can receive a SIGTERM in various scenarios, such as CPU or disk overuse, watchdog terminations, or when the OS updates your app.
99+
100+
90101
</ConfigKey>
91102

92103
<ConfigKey name="send-default-pii">

0 commit comments

Comments
 (0)