File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2222from sentry_sdk .api import set_tag
2323from sentry_sdk .integrations .argv import ArgvIntegration
2424from sentry_sdk .integrations .django import DjangoIntegration
25+ from sentry_sdk .integrations .dramatiq import DramatiqIntegration
2526from sentry_sdk .integrations .redis import RedisIntegration
2627from sentry_sdk .integrations .socket import SocketIntegration
2728from sentry_sdk .integrations .stdlib import StdlibIntegration
@@ -109,11 +110,12 @@ def sentry_init(**sentry_init_kwargs):
109110 dsn = CONFIG .get ("error_reporting.sentry_dsn" ),
110111 integrations = [
111112 ArgvIntegration (),
112- StdlibIntegration (),
113113 DjangoIntegration (transaction_style = "function_name" , cache_spans = True ),
114+ DramatiqIntegration (),
114115 RedisIntegration (),
115- ThreadingIntegration (propagate_hub = True ),
116116 SocketIntegration (),
117+ StdlibIntegration (),
118+ ThreadingIntegration (propagate_hub = True ),
117119 ],
118120 before_send = before_send ,
119121 traces_sampler = traces_sampler ,
You can’t perform that action at this time.
0 commit comments