remove sentry sdk
This commit is contained in:
@@ -12,7 +12,6 @@ https://docs.djangoproject.com/en/5.2/ref/settings/
|
|||||||
import os.path
|
import os.path
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import sentry_sdk
|
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|
||||||
@@ -28,22 +27,6 @@ SECRET_KEY = 'django-insecure-@0apn-lk85pfw=z00x2ib$w9#rwz8%2v4i_n^^9jz-m9b+y55*
|
|||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|
||||||
sentry_sdk.init(
|
|
||||||
dsn="https://e8d8ff4f1bf729370af00b7775be441c@o4509597964697600.ingest.us.sentry.io/4509597966073856",
|
|
||||||
# Add data like request headers and IP for users,
|
|
||||||
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
|
|
||||||
send_default_pii=True,
|
|
||||||
# Set traces_sample_rate to 1.0 to capture 100%
|
|
||||||
# of transactions for tracing.
|
|
||||||
traces_sample_rate=1.0,
|
|
||||||
# Set profile_session_sample_rate to 1.0 to profile 100%
|
|
||||||
# of profile sessions.
|
|
||||||
profile_session_sample_rate=1.0,
|
|
||||||
# Set profile_lifecycle to "trace" to automatically
|
|
||||||
# run the profiler on when there is an active transaction
|
|
||||||
profile_lifecycle="trace",
|
|
||||||
)
|
|
||||||
|
|
||||||
ASGI_APPLICATION = "Rasaddam_Backend.asgi.application" # noqa
|
ASGI_APPLICATION = "Rasaddam_Backend.asgi.application" # noqa
|
||||||
|
|
||||||
ALLOWED_HOSTS = [
|
ALLOWED_HOSTS = [
|
||||||
|
|||||||
Reference in New Issue
Block a user