cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to Initialize Sentry in All Notebooks Used in Jobs using __init__.py?

jeremy98
Honored Contributor

Hi Community,

I'm looking to initialize Sentry in all notebooks that are used across multiple jobs. My goal is to capture exceptions using Sentry whenever a job runs a notebook.

Whatโ€™s the recommended approach for initializing Sentry packages in this context? Specifically:

  • How should I structure the initialization code?

  • Should I use a separate init notebook or a shared module?

  • How can I ensure that Sentry is initialized automatically every time a notebook runs as part of a job?

Thanks in advance for your guidance!

0 REPLIES 0