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:ย 

any open-source library or init script for exporting Databricks job metrics to Prometheus

Kirankumarbs
Visitor

Hello Community,

Iโ€™m exploring ways to export the default metrics from Databricks Jobs/Workflows to Prometheus and visualize them in Grafana.

Thereโ€™s a nice option to use Databricks as a data source in Grafana, but thatโ€™s available only in the Enterprise edition. Before building a custom script or embedding logic directly into my Spark jobs, Iโ€™d like to check if thereโ€™s an open-source alternative.

Are there any recommended open-source tools, libraries, or init scripts that can help with this?

1 ACCEPTED SOLUTION

Accepted Solutions

Raman_Unifeye
Contributor III

@Kirankumarbs 

If you jst want to track Job status Success/Failure, Run Duration, and Costs, use exporter that talks to the Databricks Workspace API or System Tables.

grafana/databricks-prometheus-exporter - This is an open-source exporter. It queries Databricks System Tables  to export metrics on billing, job runs, and SQL Warehouse performance. it needs a Service Principal with access to system.lakeflow


RG #Driving Business Outcomes with Data Intelligence

View solution in original post

2 REPLIES 2

Raman_Unifeye
Contributor III

@Kirankumarbs 

If you jst want to track Job status Success/Failure, Run Duration, and Costs, use exporter that talks to the Databricks Workspace API or System Tables.

grafana/databricks-prometheus-exporter - This is an open-source exporter. It queries Databricks System Tables  to export metrics on billing, job runs, and SQL Warehouse performance. it needs a Service Principal with access to system.lakeflow


RG #Driving Business Outcomes with Data Intelligence

I checked library documentation! It seems good start for me to visualize System tables at Grafana!