@Dean Lovelaceโ : I can think of one way, does it help solve?
In Databricks, each notebook has a unique identifier called a "run ID" that can be used to filter the Spark UI to show only the activities performed by that notebook. Here's how you can filter the Spark UI for a notebook in Databricks:
- Run the notebook in Databricks.
- Once the notebook has completed or while it's running, navigate to the "Clusters" tab in the Databricks workspace.
- Click on the "View spark UI" button next to the cluster that was used to run the notebook.
- In the Spark UI, click on the "Application ID" link near the top of the page.
- This will take you to the "Application Detail" page. Look for the "Run ID" field, and copy the value.
- Go back to the Spark UI homepage and click on the "Filters" dropdown menu near the top of the page.
- In the "Filters" menu, click on "Add Filter" and select "Tag".
- In the "Tag" field, enter the value of the "Run ID" that you copied earlier.
- Click on "Apply".
After applying the filter, the Spark UI will only show the activities performed by the notebook with the specified run ID. This can be helpful for troubleshooting or auditing purposes, as it allows you to easily track the activities of a particular notebook.