Fix performance tracking for sentry and lower samplerate
This commit is contained in:
parent
800e5e4ee8
commit
879460adaf
|
@ -26,9 +26,10 @@ if env("FUNKWHALE_SENTRY_DSN", default=None) is not None:
|
||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
dsn=env("FUNKWHALE_SENTRY_DSN"),
|
dsn=env("FUNKWHALE_SENTRY_DSN"),
|
||||||
integrations=[DjangoIntegration()],
|
integrations=[DjangoIntegration()],
|
||||||
traces_sample_rate=env("FUNKWHALE_SENTRY_SR", default="1.0"),
|
traces_sample_rate=env("FUNKWHALE_SENTRY_SR", default=0.25),
|
||||||
send_default_pii=False,
|
send_default_pii=False,
|
||||||
environment="api",
|
environment="api",
|
||||||
|
debug=True
|
||||||
)
|
)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue