From 4633f7658ce1874f20bb3e6ab514a24b2932bdc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 30 Dec 2020 03:52:14 +0100 Subject: [PATCH] send traces --- geogame/settings.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/geogame/settings.py b/geogame/settings.py index b8f4905..fc6162d 100644 --- a/geogame/settings.py +++ b/geogame/settings.py @@ -18,10 +18,9 @@ sentry_sdk.init( dsn="https://c5a7542e02574e20951223b076a1240f@sentry.kmlabz.com/27", integrations=[DjangoIntegration()], traces_sample_rate=1.0, - - # If you wish to associate users to errors (assuming you are using - # django.contrib.auth) you may enable sending PII data. - send_default_pii=True + send_default_pii=True, + environment="production", + _experiments={"auto_enabling_integrations": True} ) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)