mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
Add sentry rq integration
This commit is contained in:
parent
b9bd1d4e14
commit
c80b240497
3 changed files with 14 additions and 2 deletions
9
rqsettings.py
Normal file
9
rqsettings.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
import os
|
||||
|
||||
import sentry_sdk
|
||||
from sentry_sdk.integrations.rq import RqIntegration
|
||||
|
||||
sentry_sdk.init(
|
||||
os.environ.get('PROXSTAR_SENTRY_DSN'),
|
||||
integrations=[RqIntegration()]
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue