Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
sb991986
Helper I
Helper I

Gen 2 capacity metrics API datasource

Hi,

 

I was wondering if is an API available to extract gen 2 capacity metrics data (such as cpu utilization etc). I am trying to see if there is a way to extract from API and store it into sql server database.

 

Thank you for your assistance.

 

Thanks,

 

3 REPLIES 3
Hariharan_R
Solution Sage
Solution Sage

Hi,

 

  If you are an adminstrator of the Premium Capacity then you should be able to see the Gen2 metrics App dataste in the workspace. If you have access to the dataset then you try to use Execute queries REST API and extract the data using DAX query and store it in databse. 

 

Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Docs

I never tried this before but I hope this will work as long as we have dataset with proper permission.

 

Thanks

Hari

Hi,

Thank you for your response. I have a requirement to develop our own metrics to measure gen 2 capacity instead using Premium Capacity Metrics. I am looking to see if there is a API to extract the underlying data that the Premium Capacity Metrics had. 

 

Thanks

Hi 

I dont see any option to build our own. At max we can collect premium workspace logs from Azure Log Analytics but resources can be captured only from premium capacity metrics app only.

 

Thanks

Hari

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors