16 Azure monitoring tips for ASP.NET apps

stackify plus azure web apps

Overview of Azure Monitoring with Stackify

Deploying and managing your web apps has never been easier, thanks to Azure App Services. Azure monitoring is easy with Stackify. Monitor the overall performance, metrics, errors, and logs for your applications.

How to install Stackify Retrace
APM for Azure App Services

Installing Retrace APM on Azure App Services is really simple. You do not need to change any code or re-deploy your app. All you need to do is sign up for a free trial of Stackify, install our Site Extension via the Azure Portal and plug in your Stackify license key into the application settings for your app. See our docs for full details step by step. You can be up and running in a couple minutes.

 

 

Monitoring Azure Application Performance

With Stackify you can monitor the performance of all of your apps in one place. We support Azure App Services, Azure Cloud Services, AWS, or any Windows Server running your ASP.NET apps.

How is your application stack performing?

Stackify makes it easy to understand how your application stack is performing. Our APM automatically recognizes all the most common .NET libraries including popular Azure features like Service Bus, DocumentDB, Azure Storage, SQL Azure, Redis and much more. This makes it easy to identify performance problems quickly.

 

Satisfaction scoring makes it easy to understand performance

Stackify also tracks the user satisfaction for your application based on apdex scoring. It is calculated based on response time goals you set for your application. Response time averages are easily skewed by a couple slow requests. Satisfaction scores instead bucket the performance in to “Fast”, “Sluggish”, “Too Slow”, and “Failed” requests which makes it easier to understand the relative performance. An overall score from 0 to 100 is also calculated.

 

Monitoring performance of each web request

View the performance of all the requests to your app. Quickly find which requests are the slowest, most used, erroring out, slow due to database calls and much more.

 

Find slow database queries

Stackify also tracks all of your database queries and allows you to see which ones are the slowest.

 

Monitoring performance of 3rd party web services

You can also see which web services you are using and how they are performing

 

Dissect the performance of a single web request

Stackify tracks the performance of every single ASP.NET web request on your Azure site. We don’t only monitor slow requests like some other APM solutions. Stackify can help you identify why any web request is slow or not functioning properly due to other bugs.

Find the hot spot in your code

By tracking what resource each requests uses, Stackify can help you identify why the request takes as long to load as it does. You can quickly identify slow database queries, too many queries, too many cache calls, slow web service calls, etc.

 

View profiling traces for advanced troubleshooting

Stackify is designed to help developers fix application problems. One way do this is by tracking common methods that help developers understand the performance and behavior of their apps. We automatically track and show details like what redis keys, Azure Storage table names, queue names, database names and much more. With the addition of our optional logging module, we can even show your error and log messages inline which can add an amazing amount of debugging details to help solve problems. How amazing is that?

Troubleshoot problems with all your errors and logs

Stackify APM can automatically collect the exceptions from your applications. We can also aggregate all of your log messages from your apps and IIS logs. Please note that some of the following features are only available with our optional Error & Log module.

Find top application exceptions

Our error tracking module makes it easy to find your most common errors and setup monitoring for new ones and high error rates.

 

Aggregate all of your logs together

Accessing your raw log files on Azure App Services can be really difficult. If you are using a logging framework like NLog or log4net, you can add the Stackify appender to your web config and send all of your logs to Stackify to be fully indexed and analyzed for analysis.

 

Aggregate your IIS logs too!

Your IIS logs serve as a valuable audit log to track all the requests to your site. Stackify can optionally and auto-magically pick up all of your IIS logs and ship them to our log management product as well.

Log extra debug info

You can even log objects via log4net or NLog to get advanced details to help troubleshoot problems. You can then search by any of these fields on our error and log modules. Tags also make it easy to search for specific log messages and errors by subject, subsystem, or category.

 

Azure Monitoring Tools for your ASP.NET apps

Stackify is a great way to monitor the overall health of your apps including requests per minute, user satisfaction scoring, error rates, page load times and much more. We also monitor the CPU and memory usage of your applications. Below is some highlights of just some of the things you can monitor with Stackify.

azure monitoring apps list

 

Monitor Key Transactions

You can configure monitoring for specific web requests and SQL queries that are critical to the health of your application.

 

Monitor your Azure website URL

Stackify can also do ping type checks against your website URL or other URLs, every minute and alert you if it is too slow or returns an improper status code.

Monitor error rates

Application errors are inevitable, especially with cloud apps that are more prone to transient type errors. You also have to worry about noisy neighbors in the cloud or hiccups when Azure does their own maintenance. We highly recommend setting up some basic monitoring thresholds for error rates to let you know if your app starts throwing 500 errors a minute all of a sudden.

 

Got custom metrics?

Via our API and nuget package you can even log your own custom application metrics. It only takes a couple lines of code to track how often something happens or how long a certain part of your code happens. Learn more about custom metrics in our docs.

StackifyLib.Metrics.Count(“People Metrics”, “DB Query Called”);

You can then monitor those metrics with Stackify.

 

Monitor Azure Service Bus

If you are using Service Bus queues, we highly recommend monitoring them as well. You can monitor how many messages are in your queues to ensure they are being handled properly.

 

Stackify is your top choice for monitoring Azure App Services!

Stackify is written in ASP.NET and has been hosted on Azure since 2012. You can rest assured we have top notch support for your ASP.NET Azure App Services. Our goal is to help developers find and fix application problems quickly by combining all the data and tools they need to do so.

Get started with a free trial today!

Note: Almost everything in this post is examples from our online sandbox account. You can access it anytime to play with our product and get a better idea of how it works at anytime.