Pushing custom telemetry details to analytics of Application Insights
We have been asked by our customers to provide analytic reports of a derived metric with in AI. So, what is a derived metric? Well, by default, AI provides you with many insights about the metrics like requests, errors, exceptions, and so on. You can run queries on the information that AI provide using AI - Analytics query language, say, if you would like to understand the number of requests that are coming to a website for every hour a new metric derived from the out of the box metric.
In this context, requests per hour
is a derived metric) and if you would like to build a new report within AI then you need to feed AI about the new derived metric on a regular basis. Once you feed the required data regularly, AI will take care of providing the reports for our analysis.
We will be using Azure Functions that feed the AI with a derived metric named requests per hour
:

For this example, we will develop a query using Analytics...