• Print
  • Share
  • Dark

Windows Performance Counters

  • Updated on 22 Aug 2018
  • 1 minute to read
  • Contributors

Retrace can monitor any type of Windows Performance Counters.

There are three different ways to configure monitoring of Windows Performance Counters with Retrace. In this article we will review all three.

To learn more about ASP.NET Performance Counters, please review our blog post: Top ASP.NET Performance Counters and How to Monitor Them

1. Application Monitoring Template: .NET Framework Counters

These are monitors that can be configured within a specific application on the App tab. If you are tyring to monitor something specific to your .NET application, this is the preferred way.

Retrace makes it simple to select from dozens of standard counters. They are broken up by what they are related to. The .NET CLR, your app, IIS Site, or IIS Application Pool.

Many Windows Performance Counters use dynamic instance names that are based on the process ID, site name, or application pool name. Retrace automatically and dynamically always monitors the correct instance name.


2. Application Monitoring Template: Your Custom Counters

From the Performance Counters tab you can configure monitoring for virtually any Windows Performance Counter. This is most useful for monitoring your own custom counters related to your application.

Consider using Retrace's custom metrics for .NET instead of your own Windows Performance Counters.

If you want to monitor Windows Performance Counters for the .NET CLR, ASP.NET or IIS, this is not how you should do it. You should instead configure it as shown above from the App tab.

Besides monitoring your own custom counters, you could also use the application based configuration for a Windows Service like SQL Server, Exchange, etc. You could configure counters that you want to monitor across every server running that application.

3. Server Monitoring Template

Retrace supports configuring monitoring based on an application or via server templates. Server monitoring templates can be configured to monitor any Windows Performance Counter but they will not dynamically track application specific counters that have dynamic instance names as described above in #1.

You could use server monitoring templates to monitor a series of counters for something like SQL Server and then apply the server monitoring template to only your servers that run SQL Server. Another example would be monitoring how many active RDP sessions are connected to the server.