Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the best ASP.NET performance counters to monitor? [closed]

There are truckloads of counters available in perfmon for ASP.NET. What are the best (I am thinking of choosing 5-10) that will be the best to monitor in our test environment so that we can feed back to developers.

I am thinking of things like request time, request queue length, active sessions etc.

like image 347
Simon Munro Avatar asked Oct 02 '08 10:10

Simon Munro


People also ask

How many counters are in Example service in asp net?

ASP.NET supports two groups of performance counters: system and application. System performance counters are exposed in the Windows Performance monitor as the ASP.NET performance counter object. Application performance counters are exposed as the ASP.NET Applications performance object.

How do you check the performance of a .NET application?

In the Windows Performance Monitor (Perfmon.exe), the per-application counters are available under the ASP.NET Applications performance object. If there are multiple applications on the server, you specify a particular application instance when selecting a counter to monitor.

What are performance counters in C#?

Performance counters enable us to publish, capture, and analyze the performance data of running code. A performance graph is a two-dimensional plot with one axis indicating time elapsed and the other reporting relevant relative or actual performance statistics.


1 Answers

For a normal (not performance/stress testing) you would be OK with the following:

  • Request Bytes Out Total (very important especially for web (not intranet) applications)
  • Requests Failed
  • Requests/Sec
  • Errors During Execution
  • Errors Unhandled During Execution
  • Session SQL Server Connections Total
  • State Server Sessions Active

For the performance testing you would probably want things like:

  • % CPU Utilization (make sure you're checking for very low CPU utilisation as well as it might indicate that something is dead)
  • Requests Queued
  • Output Cache Hits
like image 64
Ilya Kochetov Avatar answered Oct 11 '22 10:10

Ilya Kochetov