Forum Discussion
Padmanabhan
Helper II
8 months agoFabric metric extraction using rest api
I extracted the needed metrics of fabric using the powerBI rest API. "https://api.powerbi.com/v1.0/myorg/groups/{workspace_id}/datasets/{dataset_id}/executeQueries" But the data is extracted on...
- 8 months ago
I'd suggest -
Resume the capacity via API just before pulling metrics (then pause again). Use the Azure Fabric Capacities REST API: POST .../providers/Microsoft.Fabric/capacities/{capacityName}/resume and .../suspend for pause; automate with Logic Apps/Runbooks.
then turn it off.
AntoineW
Super User
8 months agoHi,
The App Metrics retrieve metadata from the fabric capacity like CU consumption, items CU, ...
So if the Fabric capacity is paused, the metrics app will not get any metadata too.
What is your use case to better understand your need ?