summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2023-05-19 09:19:19 -0600
committernavanchauhan <navanchauhan@gmail.com>2023-05-19 09:19:19 -0600
commitb8d775e3d6bc15c8e3baa055c64dd2f714d9891f (patch)
treee90ced81f1292152d8726a4b7af56f82ca956624 /main.py
parentb7e41f53e0c18b401166d02712785ada18c0cd21 (diff)
enable telemetry
Diffstat (limited to 'main.py')
-rw-r--r--main.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/main.py b/main.py
index e022f18..f8a87a2 100644
--- a/main.py
+++ b/main.py
@@ -237,6 +237,15 @@ class CompanySelector:
self.master.quit()
if __name__ == "__main__":
+ import sentry_sdk
+ sentry_sdk.init(
+ dsn="https://c5822e9079a54ef2b28d4e93a11ebc86@o126149.ingest.sentry.io/4505211315617792",
+
+ # Set traces_sample_rate to 1.0 to capture 100%
+ # of transactions for performance monitoring.
+ # We recommend adjusting this value in production.
+ traces_sample_rate=1.0
+ )
root = tk.Tk()
app = CompanySelector(root)
if os.name != "posix":