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: 

Notebook level automated pipeline monitoring or failure notif

Vibhor
Contributor

Hi, is there any way other than adf monitoring where in automated way we can get notebook level execution details without getting to go to each pipeline and checking

1 ACCEPTED SOLUTION

Accepted Solutions

-werners-
Esteemed Contributor III

databricks jobs cannot be used in data factory. Data factory itself creates jobs on databricks.

But there are other ways to monitor notebooks. The easiest is using alerts and metrics (which can be found in the monitoring tab of ADF). This will send emails or webhook messages or ... when a certain condition is met. So you can create an alert which sends an e-mail when a databricks pipeline has failed.

Very simple but effective.

(https://azure.microsoft.com/en-us/blog/create-alerts-to-proactively-monitor-your-data-factory-pipeli...)

This of course does not give you detail about what exactly went wrong so you have to look into the notebook logs.

If you want to have logs on a deeper level, you can use log analytics together with the databricks notebooks.

This is more elaborate monitoring but also more work to set up (and more expensive)

https://docs.microsoft.com/en-us/azure/databricks/administration-guide/account-settings/azure-diagno...

​https://docs.microsoft.com/en-us/azure/architecture/databricks-monitoring/

I´d start using alerts and see if that fits your needs. If not, dig deeper (Log Analytics, Azure Monitor)

View solution in original post

5 REPLIES 5

weldermartins
Honored Contributor

hello, in job there is the option to insert an alert.

Otherwise, you will have to hire the DataFactory resource.

hello, in job there is the option to insert an alert.

thanks what is the adf resource for this one..if want to include this one as part of adf

-werners-
Esteemed Contributor III

databricks jobs cannot be used in data factory. Data factory itself creates jobs on databricks.

But there are other ways to monitor notebooks. The easiest is using alerts and metrics (which can be found in the monitoring tab of ADF). This will send emails or webhook messages or ... when a certain condition is met. So you can create an alert which sends an e-mail when a databricks pipeline has failed.

Very simple but effective.

(https://azure.microsoft.com/en-us/blog/create-alerts-to-proactively-monitor-your-data-factory-pipeli...)

This of course does not give you detail about what exactly went wrong so you have to look into the notebook logs.

If you want to have logs on a deeper level, you can use log analytics together with the databricks notebooks.

This is more elaborate monitoring but also more work to set up (and more expensive)

https://docs.microsoft.com/en-us/azure/databricks/administration-guide/account-settings/azure-diagno...

​https://docs.microsoft.com/en-us/azure/architecture/databricks-monitoring/

I´d start using alerts and see if that fits your needs. If not, dig deeper (Log Analytics, Azure Monitor)

understood, was able to use the alert and metrics and explore this further. thanks..

Anonymous
Not applicable

@Vibhor Sethi​ - Would you be happy to mark @Werner Stinckens​' answer as best if it resolved your question?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group