Skip to content

Commit baf0e2e

Browse files
authored
Merge branch 'internetarchive:master' into 10196/refactor/enable-ruff-rule-PLC1901
2 parents c022a27 + ba31b81 commit baf0e2e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

conf/openlibrary.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ sentry:
177177
# Dummy endpoint; where sentry logs are sent to
178178
dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'
179179
traces_sample_rate: 1.0
180+
profiles_sample_rate: 0.001
180181
environment: 'local'
181182

182183
sentry_cron_jobs:

openlibrary/utils/sentry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def init(self):
6868
dsn=self.config['dsn'],
6969
environment=self.config['environment'],
7070
traces_sample_rate=self.config.get('traces_sample_rate', 0.0),
71+
profiles_sample_rate=self.config.get('profiles_sample_rate', 0.0),
7172
release=get_software_version(),
7273
)
7374

0 commit comments

Comments
 (0)