none
Application Insight with API call

    Question

  • I would like to access the telemetry from Azure application insight with API call and store it in DB and make it visible to my customer in my application. 
    I saw the option of 'Continous export' to export data to Azure table storage and then the option to move the data to Azure SQL through stream analyse. Due to the costs invloved in continous export I want to use REST API call to get the required information and store it in DB. 

    Is this a right approach? 
    Wednesday, November 29, 2017 5:41 PM

All replies

  • Hello Sridevi,

    As you may already know, Application Insights retains telemetry data only for 90 days from the time it was logged. Your customers might be interested in insights/metrics over a period of time (historical data) and moreover you will lose the already tracked telemetry/metrics if choose not to export data somewhere else. So my answer is:

    1) If you have a requirement to see historical (over 90 days) performance of your application and your data retention/security policies allows you to store telemetry data for more than 90 days, take the "Continuous Export" route else

    2) You can either use the Application Insights REST API approach (recommended only for aggregated metrics) to power your custom user experience or simply integrate with Power BI reports and embed these reports in your app.

    Thursday, November 29, 2018 7:14 PM