🔧(sentry) reduce trace
we reduce trace to reduce spamming on sentry
This commit is contained in:
committed by
Marie
parent
6b7f00651f
commit
9b613e63a9
@@ -482,7 +482,7 @@ class Base(Configuration):
|
|||||||
environment=cls.__name__.lower(),
|
environment=cls.__name__.lower(),
|
||||||
release=get_release(),
|
release=get_release(),
|
||||||
integrations=[DjangoIntegration()],
|
integrations=[DjangoIntegration()],
|
||||||
traces_sample_rate=1.0,
|
traces_sample_rate=0.1,
|
||||||
)
|
)
|
||||||
with sentry_sdk.configure_scope() as scope:
|
with sentry_sdk.configure_scope() as scope:
|
||||||
scope.set_extra("application", "backend")
|
scope.set_extra("application", "backend")
|
||||||
|
|||||||
Reference in New Issue
Block a user