title | description | author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|
Use API analytics in Azure API Management | Microsoft Docs |
Use analytics in Azure API Management to help you understand and categorize the usage of your APIs and API performance. |
dlepow |
api-management |
article |
11/24/2020 |
apimpm |
Azure API Management provides built-in analytics for your APIs. Analyze the usage and performance of the APIs in your API Management instance across several dimensions, including:
- Time
- Geography
- APIs
- API operations
- Products
- Subscriptions
- Users
- Requests
Note
Geography values are approximate based on IP address mapping.
:::image type="content" source="media/howto-use-analytics/analytics-report-portal.png" alt-text="Timeline analytics in portal":::
Use analytics for high-level monitoring and troubleshooting of your APIs. For additional monitoring features, including near real-time metrics and resource logs for diagnostics and auditing, see Tutorial: Monitor published APIs.
[!INCLUDE premium-dev-standard-basic.md]
Use the Azure portal to review analytics data at a glance for your API Management instance.
-
In the Azure portal, navigate to your API Management instance.
-
In the left-hand menu, under Monitoring, select Analytics.
:::image type="content" source="media/howto-use-analytics/monitoring-menu-analytics.png" alt-text="Select analytics for API Management instance in portal":::
-
Select a time range for data, or enter a custom time range.
-
Select a report category for analytics data, such as Timeline, Geography, and so on.
-
Optionally, filter the report by one or more additional categories.
Use Reports operations in the API Management REST API to retrieve and filter analytics data for your API Management instance.
Available operations return report records by API, geography, API operations, product, request, subscription, time, or user.
- For an introduction to Azure Monitor features in API Management, see Tutorial: Monitor published APIs
- For detailed HTTP logging and monitoring, see Monitor your APIs with Azure API Management, Event Hubs, and Moesif.
- Learn about integrating Azure API Management with Azure Application Insights.