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
{{ message }}
Repository navigation
Commit 02f0332
Browse filesBrowse the repository at this point in the historyBrowse files
Report Litestar errors without LitestarIntegration while tracing is off (#361)
LitestarConfig.sentry_lean_error_capture defaults to None, which turns lean
capture on while no Sentry tracing option is set. lite-bootstrap then disables
LitestarIntegration and reports request errors through its own middleware and
after_exception hook, with request data gated by data_collection.
SentryInstrument is generic over its config and builds init kwargs in
_build_init_params, so framework instruments can extend them.
Copy file name to clipboardExpand all lines: docs/introduction/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ Additional parameters can also be supplied through the settings object:
22
22
-`sentry_additional_params` - additional params, which will be passed to `sentry_sdk.init`, overriding any of the above that map to the same keyword
23
23
-`sentry_default_integrations` - whether to use sentry's default integrations (default: `True`)
24
24
-`sentry_before_send` - optional callback chained after the built-in structlog enricher, passed to `sentry_sdk.init(before_send=...)`
25
+
-`sentry_lean_error_capture` - Litestar only: report request errors without Sentry's `LitestarIntegration` (default: `None`, meaning on while Sentry tracing is off). See [Litestar](../integrations/litestar.md#sentry).
25
26
26
27
Read more about sentry_sdk params [here](https://docs.sentry.io/platforms/python/configuration/options/).
0 commit comments