Apica PMA Counters Summary
Introduction
This document specifies how to define Performance Counters for collection by the Performance Monitoring Agent (PMA) in Windows, and the pre-defined performance counters that exist in the Apica LoadTest database.
The table shows the Counter ID (CID) and the Name (string) which will be shown when picking counters to show in the loadtest result.
Some of the counters apply to Windows in general or IIS or SQL Server specifically, others refer to Linux systems.
Windows - Configure performance counters
The pmcConfig file describes the performance counters that will be collected by the agent.
There are two templates available, to copy the configuration
One for a typical IIS server
One for a typical SQL server
pmcConfig File Example:
Instruct the agent to collect the performance counter '% Processor Time' in the performance object 'Processor', and we want to collect statistics for all processors so we set the instance to '_Total'. The XML would look like this:
<performanceCounter>
<pmc name="cid">1</pmc>
<pmc name="CategoryName">Processor</pmc>
<pmc name="CounterName">% Processor Time</pmc>
<pmc name="InstanceName">_Total</pmc>
</performanceCounter>
Manually getting Counter Data in Windows
 |  |
---|---|
The easiest way to find additional Performance Counters is to open perfmon.exe on the local machine and add a new counter. | |
You will be presented with a list of Categories like ‘Processor’ or ‘Processor Information’ and within these categories, you will find different performance counters like ‘% User Time’ or ‘% Processor Time’. In this case below we see ‘%User Time’ and we want to add all instances of this counter under the Performance Object, 'Processor' | |
Once you have added the counter to perfmon, the selected counters will be displayed at the bottom of the window. | |
The list of selected counters contains the information that needs to be supplied to the agent in the pmcConfig file. Object = CategoryName, Counter = CounterName, Instance = InstanceName Performance objects (other than the default counters, and those included in the templates) will not be stored unless the counter ID has already been defined in the database, if the agent connects to an on-premise controller, see the controller manual for further details. If the agent connects to the SAAS controller (ltagcontroller.apicasystem.com) please contact support@apica.io and make sure to include the names of the performance objects that you wish to add. |
Pre-defined counters in the ALT DB
The columns show which counters/definitions are included in the templates. Note that the "default" counters (Window/Linux) are always reported by the agent, even without templates.
CID | Name in DB | PMA default Windows | IIS Server Template | SQL Server Template | PMA default Linux |
---|---|---|---|---|---|
1 | CPU Usage % | ✓ | ✓ | ✓ | ✓ |
2 | Physical Memory Used (MB) |  |  |  | ✓ |
3 | Mbit/s Received (RX) | ✓ |  |  | ✓ |
4 | Mbit/s Transmitted (TX) | ✓ |  |  | ✓ |
5 | MB/s Read | ✓ |  |  | ✓ |
6 | MB/s Written | ✓ |  |  | ✓ |
7 | MYSQL Threads Running | Â | Â | Â | Â |
8 | MySQL Threads Connected | Â | Â | Â | Â |
9 | MySQL Queries | Â | Â | Â | Â |
10 | MySQL Open Tables | Â | Â | Â | Â |
11 | MySQL Table Locks Waited | Â | Â | Â | Â |
12 | MySQL Slow Queries | Â | Â | Â | Â |
15 | Load Avg (1 Min) |  |  |  | ✓ |
16 | Load Avg (5 min) |  |  |  | ✓ |
17 | Load Avg (15 Min) |  |  |  | ✓ |
18 | Pages swapped into memory |  |  |  | ✓ |
19 | Pages swapped out of memory |  |  |  | ✓ |
20 | IO Wait % |  |  |  | ✓ |
21 | Memory Cache Used (MB) |  |  |  | ✓ |
22 | Running Processes |  |  |  | ✓ |
23 | Physical Memory Available |  | ✓ | ✓ | ✓ |
24 | Physical Disk: Avg Disk Queue Length |  | ✓ | ✓ |  |
25 | System: Threads |  | ✓ | ✓ |  |
26 | System: Processor Queue Length |  | ✓ | ✓ |  |
27 | Memory: Pages/sec |  | ✓ | ✓ |  |
28 | Physical Disk: % Disk Time |  | ✓ | ✓ |  |
29 | TIME_WAIT Connections | Â | Â | Â | Â |
30 | Current Anonymous Users | Â | Â | Â | Â |
31 | Current Connections | Â | Â | Â | Â |
32 | Connections To Mock | Â | Â | Â | Â |
33 | Memory Used % | Â | Â | Â | Â |
34 | EJABBERD Connected Users | Â | Â | Â | Â |
35 | EJABBERD Outgoing s2s Con | Â | Â | Â | Â |
36 | EJABBERD Incoming s2s Con | Â | Â | Â | Â |
37 | REDIS: Ops per second | Â | Â | Â | Â |
38 | IOSTAT A_WAIT | Â | Â | Â | Â |
42 | Threads | Â | Â | Â | Â |
43 | System: Processor Queue Length | Â | Â | Â | Â |
44 | ESTABLISHED Connections | Â | Â | Â | Â |
45 | Web Service - Current Connections |  | ✓ |  |  |
46 | Requests Current |  | ✓ |  |  |
47 | Requests/Sec |  | ✓ |  |  |
48 | % Time in GC |  | ✓ |  |  |
49 | Apache Processes | Â | Â | Â | Â |
50 | Apache Connections | Â | Â | Â | Â |
51 | Stingray: Current Connections | Â | Â | Â | Â |
52 | Open Files | Â | Â | Â | Â |
53 | Application Running |  | ✓ |  |  |
54 | Requests Disconnected |  | ✓ |  |  |
55 | Requests Queued |  | ✓ |  |  |
56 | Requests Rejected |  | ✓ |  |  |
57 | State Server Sessions Active |  | ✓ |  |  |
58 | Worker Process Restarts |  | ✓ |  |  |
59 | Worker Process Running |  | ✓ |  |  |
60 | Cache Total Entries |  | ✓ |  |  |
61 | Cache Total Hit Ratio |  | ✓ |  |  |
62 | Cache Total Turnover Rate |  | ✓ |  |  |
63 | Errors Total/Sec |  | ✓ |  |  |
64 | Output Cache Entries |  | ✓ |  |  |
65 | Output Cache Hit Ratio |  | ✓ |  |  |
66 | Output Cache Turnover Rate |  | ✓ |  |  |
67 | Sessions Active |  | ✓ |  |  |
68 | Transactions Pending |  | ✓ |  |  |
69 | Transactions/Sec |  | ✓ |  |  |
70 | SQL Server: Batch Requests/sec |  |  | ✓ |  |
71 | SQL Server: Buffer cache hit ratio |  |  | ✓ |  |
72 | SQL Server: Number of Deadlocks/sec |  |  | ✓ |  |
73 | SQL Server: Full Scans/sec |  |  | ✓ |  |
74 | SQL Server: Table Lock Escalations/sec |  |  | ✓ |  |
75 | SQL Server: Repl. Trans. Rate |  |  | ✓ |  |
76 | SQLServer: Buffer Manager Page life expectancy | Â | Â | Â | Â |
77 | SQLServer: SQL Statistics SQL Compilations/sec | Â | Â | Â | Â |
78 | SQLServer: SQL Statistics SQL Re-Compilations/sec | Â | Â | Â | Â |
79 | SQLServer: Cursor Manager by Type Cursor Requests/sec | Â | Â | Â | Â |
80 | service user opened files | Â | Â | Â | Â |
81 | established connections | Â | Â | Â | Â |
82 | current threads | Â | Â | Â | Â |
83 | webserver running processes | Â | Â | Â | Â |
84 | webserver status busy workers | Â | Â | Â | Â |
85 | webserver status idle workers | Â | Â | Â | Â |
86 | webserver status request x second | Â | Â | Â | Â |
87 | CPU Steal % | Â | Â | Â | Â |
90 | ruleFirings-FeatureEventRule | Â | Â | Â | Â |
91 | ruleFirings-LASEFeatureAlertRule | Â | Â | Â | Â |
92 | ruleFirings-SaveWeatherDataEvent | Â | Â | Â | Â |
93 | ruleFirings-WeatherEventRule | Â | Â | Â | Â |
94 | ruleFirings-TimeTickRule | Â | Â | Â | Â |
95 | smsEmailWindPrecipNotifications-SMTPChannel | Â | Â | Â | Â |
96 | smsEmailWindPrecipNotifications-SMSChannel | Â | Â | Â | Â |
97 | smsEmailWindPrecipNotifications-LASEChannel | Â | Â | Â | Â |
98 | smsEmailLightningNotifications-SMTPChannel | Â | Â | Â | Â |
99 | smsEmailLightningNotifications-SMSChannel | Â | Â | Â | Â |
100 | smsEmailLightningNotifications-LASEChannel | Â | Â | Â | Â |
101 | laseLightningNotifications-SMTPChannel | Â | Â | Â | Â |
102 | laseLightningNotifications-SMSChannel | Â | Â | Â | Â |
103 | laseLightningNotifications-LASEChannel | Â | Â | Â | Â |
104 | lightningEvents | Â | Â | Â | Â |
105 | windMETAREvents | Â | Â | Â | Â |
106 | windTAFEvents | Â | Â | Â | Â |
107 | precipMETAREvents | Â | Â | Â | Â |
108 | precipTAFEvents | Â | Â | Â | Â |
109 | AverageNumberTasksPerJob | Â | Â | Â | Â |
110 | NumberOfTasksSchedulePerSecond | Â | Â | Â | Â |
111 | NumberOfTasksProcessedPerSecond | Â | Â | Â | Â |
112 | InMemoryJobs | Â | Â | Â | Â |
Cannot find what you're looking for? Send an E-mail to support@apica.io.