cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.