02-08-2022 10:13 AM
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
02-09-2022 02:06 AM
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.
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/architecture/databricks-monitoring/
I´d start using alerts and see if that fits your needs. If not, dig deeper (Log Analytics, Azure Monitor)
02-08-2022 01:40 PM
02-08-2022 11:24 PM
thanks what is the adf resource for this one..if want to include this one as part of adf
02-09-2022 02:06 AM
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.
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/architecture/databricks-monitoring/
I´d start using alerts and see if that fits your needs. If not, dig deeper (Log Analytics, Azure Monitor)
02-09-2022 08:50 AM
understood, was able to use the alert and metrics and explore this further. thanks..
02-10-2022 07:17 AM
@Vibhor Sethi - Would you be happy to mark @Werner Stinckens' answer as best if it resolved your question?
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