We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c022a27 + ba31b81 commit baf0e2eCopy full SHA for baf0e2e
conf/openlibrary.yml
@@ -177,6 +177,7 @@ sentry:
177
# Dummy endpoint; where sentry logs are sent to
178
dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0'
179
traces_sample_rate: 1.0
180
+ profiles_sample_rate: 0.001
181
environment: 'local'
182
183
sentry_cron_jobs:
openlibrary/utils/sentry.py
@@ -68,6 +68,7 @@ def init(self):
68
dsn=self.config['dsn'],
69
environment=self.config['environment'],
70
traces_sample_rate=self.config.get('traces_sample_rate', 0.0),
71
+ profiles_sample_rate=self.config.get('profiles_sample_rate', 0.0),
72
release=get_software_version(),
73
)
74
0 commit comments