cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
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
Valued Contributor III
Valued Contributor III

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
Valued Contributor III
Valued Contributor III

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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.