Application Insights for AppManager - Akumina Community

Application Insights for AppManager

You are here:
Estimated reading time: 2 min

Application Insights is an extensible Application Performance Management (APM) service for web developers on multiple platforms. Use it to monitor your live web application. It will automatically detect performance anomalies. It includes powerful analytics tools to help you diagnose issues and to understand what users actually do with your app. It’s designed to help you continuously improve performance and usability. It works for apps on a wide variety of platforms including .NET, Node.js and J2EE, hosted on-premises or in the cloud. It integrates with your DevOps process, and has connection points to a variety of development tools. It can monitor and analyze telemetry from mobile apps by integrating with Visual Studio App Center and HockeyApp.

For more information, reference the Microsoft overview here: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-overview

Note: Application Insights can be setup for AppManager 4.0 releases and greater.

Installing Application Insights

Application Insights will be an item you add to your RESOURCE Group within the Azure portal.

Finding your RESOURCE Group and Subscription if you do not already know it.

If you are using a Virtual Machine (VM):

  • Click on your VM and then click on “Overview”
  • The Resource Group and Subscription will be displayed in the right pane

If you are using a Web App:

  • Click on your Webapp and then click on “Overview”

 

To install Application Insights:

  • Login to your Azure Portal, select your Resource Group, then “Overview”
  • Click on “+ADD” to add “Application Insights”
  • On the Everything page enter “Application Insights” into the search field, then select “Application Insights”. A right blade will appear, click on Create.
  • In the creations panel, complete the following fields
    • Name: appmangerwebsitename (Example: akqa21onakuminacom)
      • Note:This name should be in all lower case, begin with a-z character and contain no spaces or special characters.
    • Verify your Subscription and Resource Group is correct
    • Set Location
    • Click Create.
  • On your newly created Application Insight app, scroll down and click on “Properties” (found under configure)
  • Copy and save the “INSTRUMENTATION KEY” (this is a GUID) to be used in the next step

Edit the AppManager’s web.config file and enable (uncomment) the following sections:

  • <httpmodules> section
  • <system.Diagnostics> section (this tag is found at the end of the web.config file). This will enable transfer of all the AppManager logs data (trace level 1-5) to Application Insights so its reporting and visualization tools can be used in case of issues.
Note: Uncommenting this section is optional. Whether enabled or not, logs are also kept in the normal logging location (either file or storage table).
  • SAVE the Web.config file
  • Login into the AppManager portal
  • Navigate to Settings page

  • Navigate to AppSettings Management screen by clicking the edit icon

  • In AppSettings Management screen, you can search the key “InstrumentationKey” and click the edit icon to update the value.

  • After updating the InstrumentationKey value in the input text box, click the save icon to Complete the AppInsights configuration.

  • You will get Success message “Settings Saved Successfully”

 

Viewing Application Insights Data

Access the Applications Insights Azure app you created for the target site. The “INVESTIGATE” section provides access to many metrics to provide insight into the activity and performance of your Akumina installation.

For more information, reference the Microsoft Application Insights overview here: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-overview

IMPORTANT: Ensure that you have visited your site after installing Application Insights so that data has been generated.

Data Retention

Application insights data is subject to a retention period, which can vary but is generally up to 90 days (see https://docs.microsoft.com/en-us/azure/azure-monitor/app/data-retention-privacy).

Use continuous export if you need to keep stats longer than the 90-day period. This is described in the article Export telemetry from Application Insights at https://docs.microsoft.com/en-us/azure/azure-monitor/app/export-telemetry

Was this article helpful?
Dislike 0
Views: 76
//]]>