Is it possible to view Databricks cluster metrics using REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 04:09 PM
I am looking for some help on getting databricks cluster metrics such as memory utilization, CPU utilization, memory swap utilization, free file system using REST API.
I am trying it in postman using databricks token and with my Service Principal bearer token with this link
https://databricksinstance.azuredatabricks.net/?o=workspaceid#setting/clusters/cluster_id/metrics
however when i send the request it shows below sign in, is there anything else i am missing or is it not possible to view using REST API
Here is the full response.
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2024 07:57 AM
There is currently no option available to get this metrics available through API, but is coming soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2024 07:10 PM
Thank you Walter will keep an eye for updates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 12:03 AM
Is there a release calender where I can find a date for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 05:14 AM
Is there any alternative way to get all performance metrics programmatically?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 05:17 AM
Through Databricks REST API you can get job info such as pipeline run time, task run times etc, but I don't think you can get CPU usage and such
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2024 09:05 PM
OK thank you, any plans to introduce a new feature in Databricks to capture CPU usage?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 02:24 AM
At my company we are also interested in this feature, is there an ETA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 03:03 PM
My company is also interested in this feature and interested in a roadmap or ETA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 04:30 AM
There is no ETA yet available, as a temporary workaround you can get metrics details via the system tables through the node_timeline
https://docs.databricks.com/en/admin/system-tables/compute.html#node-timeline-table-schema
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hard to believe this isnt a feature yet. I mean if I can go to the cluster, click metrics and see them, why can't I get them via API??
I guess I'll go with the workaround, but this is embarrassing honestly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
We understand and our product team is working on this, our direction has been to go through the system tables for this information but we are exploring in giving additional options

