Monitoring Options for an Azure API Management Instance
Once you have provisioned an API Management instance, it is good practice to straight away set up monitoring. API Management offers various monitoring capabilities out-of-the-box and integration with Application Insights and Azure Monitor.
The out-of-the-box monitor capabilities of API Management are Analytics as shown below, providing you insights ranging from timeline to requests. It is a versatile capability providing you with tons of details. Furthermore, through the Logs option, you can run predefined and custom KSQL queries on all the available telemetry.
Through the Application Insights and Diagnostics Setting options, you can integrate with either an existing Application Insights instance or a Log Analytics Workspace. Both can be useful to push telemetry for operational and troubleshoot purposes. Furthermore, with the Diagnostic settings, you can also opt to push logs and telemetry to an Azure Storage account or an Event Hub.
When building your APIs in Azure API Management, it is a good practice to leverage the metrics and alerts capabilities. The tip here is to explore the ‘Monitor your Published API’ document in Microsoft Docs – this document will explain how to leverage metrics and how to set up an alert.
Lastly, you can also leverage the workbook option to create a visual report within the Azure portal.