Skip to content

Commit

Permalink
Test to use sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
Heibert committed Jul 25, 2024
1 parent 4d3e112 commit c836e11
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions INSIGHTSAPI/INSIGHTSAPI/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import os
import ssl
import ldap
import sentry_sdk
from datetime import timedelta, datetime
from django_auth_ldap.config import LDAPSearch, LDAPSearchUnion
from dotenv import load_dotenv
Expand Down Expand Up @@ -439,14 +438,3 @@ def str_to_bool(value: str) -> bool:
CELERY_TIMEZONE = "UTC"
CELERY_LOG_FILE = os.path.join(log_dir, "celery.log")
CELERY_LOG_LEVEL = "INFO"

sentry_sdk.init(
dsn="https://fbcfe406bcc4d87a1af58d548c5318fe@o4507662809432064.ingest.us.sentry.io/4507662840889344",
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for performance monitoring.
traces_sample_rate=1.0,
# Set profiles_sample_rate to 1.0 to profile 100%
# of sampled transactions.
# We recommend adjusting this value in production.
profiles_sample_rate=1.0,
)

0 comments on commit c836e11

Please sign in to comment.