A notice to our customers: Microsoft are experiencing disruption related to several of their M365 services that could impact your system. We are carefully monitoring the situation. You can be kept updated via Microsoft's service page.
×

Get Started with Application Insights

Understand | Be alerted | Diagnose

Before you start changing your system, it pays to understand what you already have. Azure Application Insights is an Application Performance Management tool. It can be applied to all the components of your solution, from front-end web pages to back-end micro-services and will automatically track transactions through all the layers. It automatically detects dependencies and will build an application map with performance metrics auto-calculated.


ApplicationInsights-Diagram

NewOrbit usually recommend implementing Application Insights before you do anything else because it will quickly tell you where the most important areas for improvement are. It will also improve your security stance by making it easier to detect attacks and – through the use of machine learning - detect deviations from “normal”. You can even use Application Insights on systems before they are deployed to Azure.

To help you get the most out of Application Insights, we will first help you deploy it and then help you use the data it gathers.

Deployment

There are different ways to deploy Application Insights. For systems deployed to Azure App Service you can often just “switch it on” in the Azure portal. For the front-end you will need to add some javascript to your web pages and for the back-end services you will need to add some code. It is often also a good idea to certain events, such as when a login fails etc, to aid in detecting hacking attempts.

Understand your logging requirements

There are many different reasons to log events happening in systems. We generally talk about

  • • Telemetry: For performance and abnormality monitoring.
  • • Tracing: Details about all individual requests for depth-support.
  • • Auditing: Immutable records of certain user activity to comply with legal and contractual requirements.

Application Insights is an APM and is used for Telemetry. It will sample data sent to it and it is not a good store for trace logs if you have a requirement to keep all the traces for auditing or support purposes. We often use Application Insights for the telemetry/monitoring aspects and Seq or Log Analytics for tracing and auditing.

Understand your infrastructure

We will work with you to understand the components that make up your system and what technologies they use so we can determine how and where to enable Application Insights.

Configure Application Insights

We will work with you to configure Application Insights on your system. We can guide you to the best way to do this for each of the tiers. We can directly help with the code for javascript based front-ends and Node or .Net based backends.

Usage

After Application Insights has gathered data for a week or so, we will run through a session with you to:

  1. Demonstrate the built-in analysis tools, such as Live Metrics, the ability to follow transactions and the Performance views.
  2. Help you set up key alerts, such as excessive 403/404 responses, failed logins etc as well as configuring the Machine Learning based anomaly alerts.
  3. Introduce you to the powerful query language.

Contact us to benefit from in-depth application performance analysis

Get in touch