root: allow extra sentry settings (#10269)
This commit is contained in:
committed by
GitHub
parent
4f06ecbee6
commit
97a8d8ba60
@ -59,8 +59,9 @@ def sentry_init(**sentry_init_kwargs):
|
||||
"_experiments": {
|
||||
"profiles_sample_rate": float(CONFIG.get("error_reporting.sample_rate", 0.1)),
|
||||
},
|
||||
**sentry_init_kwargs,
|
||||
**CONFIG.get_dict_from_b64_json("error_reporting.extra_args", {}),
|
||||
}
|
||||
kwargs.update(**sentry_init_kwargs)
|
||||
|
||||
sentry_sdk_init(
|
||||
dsn=CONFIG.get("error_reporting.sentry_dsn"),
|
||||
|
||||
@ -235,6 +235,10 @@ Disable the inbuilt update-checker. Defaults to `false`.
|
||||
|
||||
Whether or not to send personal data, like usernames. Defaults to `false`.
|
||||
|
||||
- `AUTHENTIK_ERROR_REPORTING__EXTRA_ARGS`
|
||||
|
||||
Base64-encoded sentry_init arguments. See [Sentry's documentation](https://docs.sentry.io/platforms/python/configuration/options/) for available options.
|
||||
|
||||
### `AUTHENTIK_EMAIL`
|
||||
|
||||
- `AUTHENTIK_EMAIL__HOST`
|
||||
|
||||
Reference in New Issue
Block a user