
Nicholas Thomson
Technical Content Writer

Ryan Warrier
Senior Product Manager

Tori Smith
Senior Product Marketing Manager
Running data processing workloads successfully and efficiently requires careful job management—whether tuning performance, tracking failures, optimizing query logic, or managing costs. Historically, teams also had to handle infrastructure decisions like cluster size and runtime configuration, all of which impacted execution time and reliability. To reduce friction and accelerate iteration, Databricks offers serverless compute for lakeflows, which has seen significant adoption. Many teams are migrating their Databricks workloads to serverless for improved performance, fast start-up times, and cost savings.
But even with the adoption of serverless, the challenges of job management remain: Jobs can still fail, queries can still be suboptimal, and costs can still creep. For serverless jobs, you still need to track things like job execution, efficiency, and failures so you can understand where latency, errors, and costs are coming from.
Datadog now enables you to monitor your serverless Databricks jobs in Data Observability: Jobs Monitoring alongside the rest of your jobs running on Databricks clusters. This functionality is available for jobs running on Databricks serverless compute, as well as serverless SQL warehouses.
In this post, we’ll show you how to use this feature to:
Detect and alert on issues
Support for Databricks serverless jobs in Jobs Monitoring enables users to set alerts on failing and long-running jobs, helping teams ensure serverless jobs meet service level objectives (SLOs). For example, say you’re a data engineer at an ecommerce company. Your team is migrating daily ETL pipelines from Databricks clusters to serverless jobs to reduce cost and simplify scaling. Using Jobs Monitoring, you can set up monitors to detect job failures or duration anomalies (no hard-coded duration threshold needed per job). This allows the team to track SLOs like “production jobs complete in under 10 minutes 95% of the time” and quickly compare serverless performance against previous cluster-based runs—helping maintain reliability during the transition.
You can also use Datadog to alert on the freshness of important data produced by your Databricks serverless jobs. For example, say you’re a data engineer that uses Databricks serverless jobs to update a critical daily_transactions table used in executive dashboards. To ensure this data is always fresh by 6:00 a.m., you use Jobs Monitoring to monitor the success and duration of the job responsible for populating that table. You configure a Datadog monitor that triggers if the job hasn’t completed successfully by 5:55 a.m. This allows you to proactively catch freshness issues—whether caused by job failures, delays, or upstream pipeline problems—before stakeholders start their day. Once you get alerted that there’s an issue, you can open the problematic job run and click Investigate with Bits. Bits, Datadog’s agentic teammate, will investigate the connected logs, code, queries, and configuration to understand what went wrong and recommend a fix.

Optimize your jobs down to the query level
Visibility into your Databricks serverless jobs enables you to evaluate trends in cost and spikes in usage so you can optimize your spend. Jobs Monitoring collects the Databricks Unit (DBU) costs for your serverless jobs from Databricks system tables and displays this information in context with other job performance data. In parallel, Jobs Monitoring uses job execution context to find cost-saving opportunities and surfaces recommended changes for code, queries, configuration, and infrastructure.
For example, say you’re part of a data engineering team, and you notice a large job whose Databricks serverless costs are rapidly rising. Using Jobs Monitoring, you can see trends in job duration, status, and cost over time to identify where the increase began and filter to the runs of interest. Open an expensive or slow run and select Optimize with Bits to ask Bits AI how to improve it. Instead of working through the complexities of poor performing queries by hand, you get specific recommendations.

To continue the example, say you notice the expensive job is taking significantly longer than usual, which risks delaying data delivery for downstream dashboards. Bits finds that one of the job’s SQL tasks runs a SELECT * against a large table (transactions_raw), reading every column and row. It recommends replacing SELECT * with the columns you need and adding a WHERE clause to limit the rows scanned.
Bits can also catch resource problems. For example, on a nightly serverless job that transforms sales data, Bits finds that this query is spilling heavily to disk:
SELECT customer_id, COUNT(*) FROM transactions GROUP BY customer_id
High disk spill slows queries and often means a job doesn’t have enough memory. Because the job runs on a serverless SQL warehouse, Bits recommends increasing the warehouse size from medium to large. On the next run, the job completes twice as fast.
Monitor Databricks serverless jobs with Datadog
In this post, we’ve shown how you can use Data Observability: Jobs Monitoring to detect and alert on problems with your Databricks serverless jobs, troubleshoot issues, and optimize your jobs down to the query level.
To get started, connect your Databricks workspace to Datadog and enable Data Observability: Jobs Monitoring. You don’t need to install the Datadog Agent for serverless compute.
If you’re new to Datadog, sign up for a free trial to get started.
