cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group