cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Can we get SQL Serverless warehouses monitoring data using APIs or logs ?

RahulChaubey
New Contributor III

I am looking for a possible way to get the autoscaling history data for SQL Serverless Warehouses using API or logs.
I want something like what we see in monitoring UI. 

Screenshot 2024-04-15 at 6.52.29โ€ฏPM.png

โ€ƒ

 

1 ACCEPTED SOLUTION

Accepted Solutions

artsheiko
Databricks Employee
Databricks Employee

Hi Rahul, you need to perform two actions : 

  1. Enable system tables schema named "compute" (how-to, take a look on the page, it's highly possible that you'll find other schemas useful too)
  2. Explore system.compute.warehouse_events table

Hope this helps.

Best regards,

Artem

View solution in original post

1 REPLY 1

artsheiko
Databricks Employee
Databricks Employee

Hi Rahul, you need to perform two actions : 

  1. Enable system tables schema named "compute" (how-to, take a look on the page, it's highly possible that you'll find other schemas useful too)
  2. Explore system.compute.warehouse_events table

Hope this helps.

Best regards,

Artem