Application Insights can offer you lots of built-in telemetries such as Page Views and Exceptions. But quite often we need to track some customize/business performances. Some examples that we are using now are:
- SharePoint crawled items from content source X
- Daily usage of a web application of all users from company ABC
- Usage and performance of different version of API
To meet these challenges, Application Insights offers API for custom event and metrics.
In this article I will show how to monitor and analysis API performance by using custom events, including export it into external database for archiving and future analysis.