Skip to content

.NET

Monitor .NET applications (3 to 4.6.2) using VBScript-based collection.

10 min read Updated SS

Supported Components and Versions#

LAYER COMPONENT VERSION
App Server DOTNET 3, 3.5, 4, 4.6.2

Monitoring Strategies for Components#

HEAL uses VBScript to monitor .NET applications. The VBScript collects performance metrics and operational data from .NET applications, such as memory usage, CPU utilization, and request processing times.

KPIs collected#

Component Name kpi_name kpi_identifier KpiDescription Units
DOTNET APPLICATION Exceptions Thrown DOTNET_NUMBER_OF_EXCEPS_THROWN This counter displays the total number of exceptions thrown since the start of the application Count
DOTNET APPLICATION Exceptions Thrown Per Sec DOTNET_NUMBER_OF_EXCEPS_THROWN_PER_SEC This counter displays the number of exceptions thrown per second. These include both .NET exceptions and unmanaged exceptions that get converted into .NET exceptions Count
DOTNET APPLICATION Filters Executed Per Sec DOTNET_NUMBER_OF_FILTERS_PER_SEC This counter displays the number of .NET exception filters executed per second Count
DOTNET APPLICATION Finallys Executed Per Sec DOTNET_NUMBER_OF_FINALLYS_PER_SEC This counter displays the number of finally blocks executed per second Count
DOTNET APPLICATION Throw to Catch Depth Per Sec DOTNET_THROW_TO_CATCH_DEPTH_PER_SEC This counter displays the number of stack frames traversed from the frame that threw the .NET exception to the frame that handled the exception per second Count
DOTNET APPLICATION Total CCWS DOTNET_NUMBER_OF_CCWS Displays the current number of COM callable wrappers (CCWs). A CCW is a proxy for a managed object being referenced from an unmanaged COM client. This counter indicates the number of managed objects referenced by unmanaged COM code. Count
DOTNET APPLICATION Total Marshallings DOTNET_NUMBER_OF_MARSHALLING This counter displays the total number of times arguments and return values have been marshaled from managed to unmanaged code and vice versa since the start of the application Count
DOTNET APPLICATION Stubs Created DOTNET_NUMBER_OF_STUBS Displays the current number of stubs created by the common language runtime. Count
DOTNET APPLICATION IL Bytes Jitted Per Sec DOTNET_ILBYTES_JITTED_PER_SEC Displays the number of Microsoft intermediate language (MSIL) bytes that are just-in-time (JIT) compiled per second. Byte
DOTNET APPLICATION IL Bytes Jitted DOTNET_NUMBER_OF_ILBYTES_JITTED Displays the total number of Microsoft intermediate language (MSIL) bytes compiled by the just-in-time (JIT) compiler since the application started. Byte
DOTNET APPLICATION Methods Jitted DOTNET_NUMBER_OF_METHODS_JITTED Displays the total number of methods just-in-time (JIT) compiled since the application started. Count
DOTNET APPLICATION Percent Time in JIT DOTNET_PERCENT_TIME_IN_JIT Displays the percentage of elapsed time spent in just-in-time (JIT) compilation since the last just-in-time (JIT) compilation phase. This counter is updated at the end of every just-in-time (JIT) compilation phase. A just-in-time (JIT) compilation phase occurs when a method and its dependencies are compiled. Count
DOTNET APPLICATION Standard JIT Failures DOTNET_STANDARD_JIT_FAILURES Displays the peak number of methods the just-in-time (JIT) compiler has failed to compile since the application started. This failure can occur if the Microsoft intermediate language (MSIL) cannot be verified or if there is an internal error in the just-in-time (JIT) compiler. Count
DOTNET APPLICATION Bytes in Loader Heap DOTNET_BYTES_IN_LOADER_HEAP This counter displays the current size (in bytes) of the memory committed by the class loader across all AppDomains Byte
DOTNET APPLICATION Appdomains DOTNET_CURRENT_APPDOMAINS refers to the number of application domains running on a system or within a process. Count
DOTNET APPLICATION Assemblies DOTNET_CURRENT_ASSEMBLIES Displays the current number of assemblies loaded across all application domains in the currently running application. If the assembly is loaded as domain-neutral from multiple application domains this counter is incremented only once. Count
DOTNET APPLICATION Classes Loaded DOTNET_CURRENT_CLASSES_LOADED This counter displays the current number of classes loaded in all Assemblies Count
DOTNET APPLICATION Percent Time Loading DOTNET_PERCENT_TIMELOADING ''This counter displays percent of time used in loading all moudles like assemblies, appdomains etc'' Count
DOTNET APPLICATION Appdomains Loaded Per Sec DOTNET_RATE_OF_APPDOMAINS This counter displays the number of AppDomains loaded per second Count
DOTNET APPLICATION Appdomains Unloaded Per Sec DOTNET_RATE_OF_APPDOMAINS_UNLOADED This counter displays the number of AppDomains unloaded per second Count
DOTNET APPLICATION Assemblies Loaded Per Sec DOTNET_RATE_OF_ASSEMBLIES This counter displays the number of Assemblies loaded across all AppDomains per second Count
DOTNET APPLICATION Classes Loaded Per Sec DOTNET_RATE_OF_CLASSES_LOADED This counter displays the number of classes loaded per second in all Assemblies Count
DOTNET APPLICATION Classed Failed To Load Per Sec DOTNET_RATE_OF_LOAD_FAILURES This counter displays the number of classes that failed to load per second Count
DOTNET APPLICATION Peak Appdomains DOTNET_TOTAL_APPDOMAINS This counter displays the peak number of AppDomains loaded since the start of this application Count
DOTNET APPLICATION Appdomains Unloaded DOTNET_TOTAL_APPDOMAINS_UNLOADED This counter displays the total number of AppDomains unloaded since the start of the application Count
DOTNET APPLICATION Total Asemblies DOTNET_TOTAL_ASSEMBLIES This counter displays the total number of Assemblies loaded since the start of this application Count
DOTNET APPLICATION Total Classes Loaded DOTNET_TOTAL_CLASSES_LOADED This counter displays the cumulative number of classes loaded in all Assemblies since the start of this application Count
DOTNET APPLICATION Classes Failed to Load DOTNET_TOTAL_NUMBER_OF_LOAD_FAILURES This counter displays the peak number of classes that have failed to load since the start of the application Count
DOTNET APPLICATION Contentions Per Sec DOTNET_CONTENTION_RATE_PER_SEC Rate at which threads in the runtime attempt to acquire a managed lock unsuccessfully Count
DOTNET APPLICATION Current Queue Length DOTNET_CURRENT_QUEUE_LENGTH This counter displays the total number of threads currently waiting to acquire some managed lock in the application Count
DOTNET APPLICATION Total Logical Threads DOTNET_NUMBER_OF_CURRENT_LOGICAL_THREADS Displays the number of current managed thread objects in the application. This counter maintains the count of both running and stopped threads. Count
DOTNET APPLICATION Total Physical Threads DOTNET_NUMBER_OF_CURRENT_PHYSICAL_THREADS Displays the number of native operating system threads created and owned by the common language runtime to act as underlying threads for managed thread objects. This counters value does not include the threads used by the runtime in its internal operations it is a subset of the threads in the operating system process. Count
DOTNET APPLICATION Total Recognized Threads DOTNET_NUMBER_OF_CURRENT_RECOGNIZED_THREADS Displays the total number of threads that have been recognized by the runtime since the application started. Count
DOTNET APPLICATION Total Unrecognized Threads DOTNET_NUMBER_OF_TOTAL_RECOGNIZED_THREADS This counter displays the total number of threads that have been recognized by the CLR since the start of this application Count
DOTNET APPLICATION Peak Queue Length DOTNET_QUEUE_LENGTH_PEAK This counter displays the total number of threads that waited to acquire some managed lock since the start of the application Count
DOTNET APPLICATION Queue Length Per Sec DOTNET_QUEUE_LENGTH_PER_SEC This counter displays the number of threads per second waiting to acquire some lock in the application Count
DOTNET APPLICATION Recognized Thread Per Sec DOTNET_RATE_OF_RECOGNIZED_THREADS_PER_SEC Displays the number of threads per second that have been recognized by the runtime. Only unique threads are tracked threads with the same thread ID that reenter the runtime or are recreated after the thread exits are not counted twice. Count
DOTNET APPLICATION Total Contentions DOTNET_TOTAL_NUMBER_OF_CONTENTIONS This counter displays the total number of times threads in the CLR have attempted to acquire a managed lock unsuccessfully Count
DOTNET APPLICATION Allocated Bytes Per Sec DOTNET_ALLOCATED_BYTES_PER_SEC This counter displays the rate of bytes per second allocated on the GC Heap Byte
DOTNET APPLICATION Finalization Survivors DOTNET_FINALIZATION_SURVIVORS This counter displays the number of garbage collected objects that survive a collection because they are waiting to be finalized Count
DOTNET APPLICATION Gen0 Heap Size DOTNET_GEN0_HEAP_SIZE This counter displays the maximum bytes that can be allocated in generation 0 (Gen 0) Byte
DOTNET APPLICATION Gen0 Promoted Bytes Per Sec DOTNET_GEN0_PROMOTED_BYTES_PER_SEC This counter displays the bytes per second that are promoted from generation 0 (youngest) to generation 1 Byte
DOTNET APPLICATION Gen1 Heap Size DOTNET_GEN1_HEAP_SIZE Displays the current number of bytes in generation 1 this counter does not display the maximum size of generation 1. Objects are not directly allocated in this generation they are promoted from previous generation 0 garbage collections. This counter is updated at the end of a garbage collection not at each allocation. Byte
DOTNET APPLICATION Gen1 Promoted Bytes Per Sec DOTNET_GEN1_PROMOTED_BYTES_PER_SEC This counter displays the bytes per second that are promoted from generation 1 to generation 2 (oldest) Byte
DOTNET APPLICATION Gen2 Heap Size DOTNET_GEN2_HEAP_SIZE Displays the current number of bytes in generation 2. Objects are not directly allocated in this generation they are promoted from generation 1 during previous generation 1 garbage collections. This counter is updated at the end of a garbage collection not at each allocation. Byte
DOTNET APPLICATION Large Object Heap Size DOTNET_LARGE_OBJECT_HEAP_SIZE This counter displays the current size of the Large Object Heap in bytes Byte
DOTNET APPLICATION Bytes in All Heap DOTNET_NUMBER_BYTES_IN_ALL_HEAPS Displays the sum of the Gen 1 Heap Size Gen 2 Heap Size and Large Object Heap Size counters. This counter indicates the current memory allocated in bytes on the garbage collection heaps. Byte
DOTNET APPLICATION GC Handles DOTNET_NUMBER_GC_HANDLES Displays the current number of garbage collection handles in use. Garbage collection handles are handles to resources external to the common language runtime and the managed environment. Count
DOTNET APPLICATION Gen0 GC (Byte) DOTNET_NUMBER_GEN0_COLLECTIONS 'This counter displays the number of times the generation 0 objects (youngest, most recently allocated) are garbage collected (Gen 0 GC) since the start of the application' Count
DOTNET APPLICATION Gen1 Colletions DOTNET_NUMBER_GEN1_COLLECTIONS This counter displays the number of times the generation 1 objects are garbage collected since the start of the application Count
DOTNET APPLICATION Gen2 Collections DOTNET_NUMBER_GEN2_COLLECTIONS This counter displays the number of times the generation 2 objects (older) are garbage collected since the start of the application Count
DOTNET APPLICATION Induced GC DOTNET_NUMBER_INDUCED_GC Displays the peak number of times garbage collection was performed because of an explicit call to (Garbage collection) GC.Collect. Count
DOTNET APPLICATION Pinned Objects DOTNET_NUMBER_OF_PINNED_OBJECTS Displays the number of pinned objects encountered in the last garbage collection. A pinned object is an object that the garbage collector cannot move in memory. This counter tracks pinned objects only in the heaps that are garbage collected. For example a generation 0 garbage collection causes enumeration of pinned objects only in the generation 0 heap. Count
DOTNET APPLICATION Sync Blocks in Use DOTNET_NUMBER_OF_SINK_BLOCKS_IN_USE This counter displays the current number of sync blocks in use Count
DOTNET APPLICATION Total Commited Bytes DOTNET_NUMBER_TOTAL_COMMITTED_BYTES This counter displays the amount of virtual memory (in bytes) currently committed by the Garbage Collector Byte
DOTNET APPLICATION Total Reserved Bytes DOTNET_NUMBER_TOTAL_RESERVED_BYTES This counter displays the amount of virtual memory (in bytes) currently reserved by the Garbage Collector Byte
DOTNET APPLICATION Percent Time in GC DOTNET_PERCENT_TIME_IN_GC Displays the percentage of elapsed time that was spent performing a garbage collection since the last garbage collection cycle. Count
DOTNET APPLICATION Promoted Finalization Memory From Gen0 to Gen1 DOTNET_PROMOTED_FINALIZATION_MEMORY_FROM_GEN0 This counter displays the bytes of memory that are promoted from generation 0 to generation 1 just because they are waiting to be finalized Count
DOTNET APPLICATION Promoted Memory From Gen0 DOTNET_PROMOTED_MEMORY_FROM_GEN0 This counter displays the bytes of memory that survive garbage collection (GC) and are promoted from generation 0 to generation 1 Count
DOTNET APPLICATION Promoted Memory From Gen1 DOTNET_PROMOTED_MEMORY_FROM_GEN1 This counter displays the bytes of memory that survive garbage collection (GC) and are promoted from generation 1 to generation 2 Count
DOTNET APPLICATION Channels DOTNET_CHANNELS This counter displays the total number of remoting channels registered across all AppDomains since the start of the application Count
DOTNET APPLICATION Context Bound Classes Loaded DOTNET_CONTEXT_BOUND_CLASSES_LOADED This counter displays the current number of context-bound classes loaded Count
DOTNET APPLICATION Context Bound Objects Allocated Per Sec DOTNET_CONTEXT_BOUND_OBJECTS_ALLOC_PER_SEC This counter displays the number of context-bound objects allocated per second Count
DOTNET APPLICATION Context Proxies DOTNET_CONTEXT_PROXIES This counter displays the total number of remoting proxy objects created in this process since the start of the process Count
DOTNET APPLICATION Contexts DOTNET_CONTEXTS This counter displays the current number of remoting contexts in the application Count
DOTNET APPLICATION Remote Calls Per Sec DOTNET_REMOTE_CALLS_PER_SEC This counter displays the number of remote procedure calls invoked per second Count
DOTNET APPLICATION Total Remote Calls DOTNET_TOTAL_REMOTE_CALLS This counter displays the total number of remote procedure calls invoked since the start of this application Count
DOTNET APPLICATION Number Link Time Checks DOTNET_NUMBER_LINK_TIME_CHECKS Displays the total number of link-time code access security checks since the application started. Link-time code access security checks are performed when a caller demands a particular permission at just-in-time (JIT) compile time. Count
DOTNET APPLICATION Percent Time In RTchecks DOTNET_PERCENT_TIME_IN_RTCHECKS it represents the last observed value. Count
DOTNET APPLICATION Percent Time Sig Authenticating DOTNET_PERCENT_TIME_SIGAUTHENTICATING Percentage time for SigAuthentication Count
DOTNET APPLICATION Stack Walk Depth DOTNET_STACK_WALK_DEPTH Displays the depth of the stack during that last runtime code access security check. Runtime code access security checks are performed by walking the stack. Count
DOTNET APPLICATION Total Run Time Checks DOTNET_TOTAL_RUNTIME_CHECKS Displays the total number of runtime code access security checks performed since the application started. Runtime code access security checks are performed when a caller demands a particular permission Count
DOTNET APPLICATION Bytes Received DOTNET_BYTES_RECEIVED The cumulative total number of bytes received by all Socket objects within the AppDomainsince the process started. Bytes
DOTNET APPLICATION Bytes Sent DOTNET_BYTES_SENT The cumulative number of bytes sent by all Socket objects within the AppDomain since the process started. Bytes
DOTNET APPLICATION Connections Established DOTNET_CONNECTIONS_ESTABLISHED The cumulative total number of Socket objects for stream sockets that were ever connected within the AppDomain since the process started Count
DOTNET APPLICATION Datagrams Received DOTNET_DATAGRAMS_RECEIVED The cumulative total number of datagram packets received by all Socket objects within the AppDomain since the process started. Count
DOTNET APPLICATION Datagrams sent DOTNET_DATAGRAMS_SENT The cumulative total number of datagram packets sent by all Socket objects within the AppDomain since the process started. Count
DOTNET APPLICATION Http Rqst AVG Life Time DOTNET_HTTPRQST_AVG_LIFETIME The average time to completion for all HttpWebRequest objects that ended in the last interval within the AppDomain since the process started Count
DOTNET APPLICATION Http Rqst AVG QUEUETIME DOTNET_HTTPRQST_AVG_QUEUETIME The average time-on-queue for all HttpWebRequest objects that left the queue in the last interval within the AppDomain since the process started. Count
DOTNET APPLICATION Http Rqst CREATED Per Sec DOTNET_HTTPRQST_CREATED_PER_SEC The number of HttpWebRequest objects created per second within the AppDomain Count
DOTNET APPLICATION Http Rqst Queued Per Sec DOTNET_HTTPRQST_QUEUED_PER_SEC The number of HttpWebRequest objects that were added to the queue per second within the AppDomain. Count
DOTNET APPLICATION Http Rqst Aborted Per Sec DOTNET_HTTPRQST_ABORTED_PER_SEC The number of HttpWebRequest objects where the application called the Abort method per second within the AppDomain. Count
DOTNET APPLICATION Http Rqst Failed Per Sec DOTNET_HTTPRQST_FAILED_PER_SEC The number of HttpWebRequest objects that received a failed status code from the server per second within the AppDomain. Count
DOTNET APPLICATION Certificate Expiry Days CERTIFICATE_EXPIRY_DAYS Indicates the number of days remaining until the server certificate expires. Count