Reorganize the project for better compatibility with unittests

This commit is contained in:
Roman Krček
2024-10-13 11:22:37 +02:00
parent 3c34c0f947
commit 725cf30319
5 changed files with 199 additions and 151 deletions

View File

@@ -0,0 +1,10 @@
import sentry_sdk
def init_telemetry() -> None:
sentry_sdk.init(
dsn="https://12d7a075d483fc133cde0ed82e72ac45@o4508071875313664.ingest.de.sentry.io/4508075566694480", # noqa: E501
traces_sample_rate=1.0,
profiles_sample_rate=1.0,
enable_tracing=True
)