- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
06-08-2023 08:58 PM
06-09-2023 09:32 AM
Yes, there are a few ways to monitor the connectors data like total, success, error for all connectors in Power BI using an API or other solution.
One way is to use the Power BI REST API. The Power BI REST API allows you to programmatically access and manage Power BI resources, including connectors. You can use the Power BI REST API to get the total, success, and error counts for all connectors.
To use the Power BI REST API, you will need to:
Here is an example of how to use the Power BI REST API to get the total, success, and error counts for all connectors:
import requests # Get the client secret for your Azure AD application. client_secret = "your_client_secret" # Create a request object. headers = { "Authorization": "Bearer " + client_secret, } url = "https://api.powerbi.com/v1.0/myorg/connectors" # Make a GET request to the Power BI REST API. response = requests.get(url, headers=headers) # Get the total, success, and error counts from the response. total_count = response.json()["total"] success_count = response.json()["success"] error_count = response.json()["error"] # Print the total, success, and error counts. print("Total:", total_count) print("Success:", success_count) print("Error:", error_count)
Another way to monitor the connectors data like total, success, error for all connectors in Power BI is to use a third-party monitoring solution. There are a number of third-party monitoring solutions that can be used to monitor Power BI, including:
These third-party monitoring solutions can be used to collect data from Power BI, including data on the connectors. This data can then be used to monitor the connectors for errors and other issues.
Monitoring the connectors data like total, success, error for all connectors in Power BI is important for ensuring that the connectors are working properly and that data is being imported and exported successfully. By monitoring the connectors data, you can identify and resolve any issues with the connectors as soon as possible.
07-07-2023 02:26 AM
Hi @ST03
I'd encourage you to log this as a Product Idea, as I know this is something the Product team are looking at.
Copyright All Rights Reserved © 2008-2023