1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Enable & document Sentry integration

This commit is contained in:
jeremystretch
2022-05-11 14:13:50 -04:00
parent 1726593fb0
commit 6f5c2f1e29
5 changed files with 87 additions and 0 deletions

View File

@@ -404,6 +404,39 @@ The file path to the location where [custom scripts](../customization/custom-scr
---
## SENTRY_DSN
Default: None
Defines a Sentry data source name (DSN) for automated error reporting. `SENTRY_ENABLED` must be True for this parameter to take effect. For example:
```
SENTRY_DSN = "https://examplePublicKey@o0.ingest.sentry.io/0"
```
---
## SENTRY_ENABLED
Default: False
Set to True to enable automatic error reporting via [Sentry](https://sentry.io/). Requires `SENTRY_DSN` to be defined.
---
## SENTRY_TAGS
An optional dictionary of tags to apply to Sentry error reports. `SENTRY_ENABLED` must be True for this parameter to take effect. For example:
```
SENTRY_TAGS = {
"custom.foo": "123",
"custom.bar": "abc",
}
```
---
## SESSION_COOKIE_NAME
Default: `sessionid`