Problem:
If the metrics in the MS SQL monitor's 'Overview' page aren't getting populated, it might be due to any of the following reasons:
Solution:
Applications Manager uses the following query to collect data on critical performance counters of your SQL Server.
Open SQL Server Management Studio and run the query based on the SQL Server version that you are using.


If you encounter the 'The user does not have permission to perform this action' message while running the query, update the permission for the specified SQL user and execute the query again.
Scenario I: If the query does not return any results, you'll need to check if you have enabled performance counters for your MSSQL server.
There are two ways to check if performance counters have been enabled for your MSSQL server.
Method 1:
Start > Run > Perfmon.exe > MonitoringTools > Performance Monitor > Click “Add Counters…+” -> check if "<SQLSERVER/MSSQL$InstanceName>:x" counters are available, where x stands for the following counters: AccessMethods, Availability Replica, Buffer Manager, Database Replica, Databases, General Statistics, Latches, Locks, Memory Manager, Plan Cache, SQL Statistics.
select * from sys.dm_os_performance_counters
If the above query does not return a list of all performance counters, then it might not be enabled for your MSSQL server.
Follow the steps below to enable performance counters for your MSSQL server:
Open the Command Prompt in administrator mode.
Navigate to the MS SQL Installation bin directory (Default Directory: C:\Program Files\Microsoft SQL Server\MSSQL14.SQLXE\MSSQL\Binn).
Run the following commands:
For SQL servers using the default Instance:
unlodctr MSSQLSERVER
lodctr perf-MSSQLSERVERsqlctr.ini
For SQL servers using a named instance:
unlodctr MSSQL$InstanceName
lodctr perf-MSSQL$InstanceNamesqlctr.ini
Restart the services "Remote Registry" and "Performance Logs & Alerts" by executing the following commands:
net stop "Remote Registry" && net start "Remote Registry" After performing all the above steps, check if Performance counters have been enabled using Method 1 or 2 mentioned above.
If performance counters have not been enabled yet, check the registry hives and keys (it’s not recommended to make any changes at the registry level, as doing so could lead to instability on the operating system. If you choose to do these changes, you should have a backup of the Operating System and Registry, to recover them if necessary. The following registry keys should exist and must have a valid configuration:
Library
Open
Collect
Close
PerfIniFile
The Registry Path is as follows:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\<<service name>>\Performance]
Check if there’s a key named "Disable Performance Counters" inside HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib directory.
If it is configured with the value 1, you must configure it with the value 0. This should allow you to rebuild the registry counters and help files.
Refer here for more detailed information.
After following the above steps, check the query result and the 'Overview' page of the reported MS SQL monitor after polling. If the problem persists, check Scenario II as well.
Scenario II: If the query returns the desired result, it indicates that data collection has happened. Now, poll your monitor in Applications Manager and verify if data is populated in the 'Overview Tab'.

If data is still not populated, share the information below with us for further analysis:
Output for the below queries by using the same SQL user used in Applications Manager for monitoring:
select * from sys.dm_os_performance_counters
select * from sysperfinfo
2. Version of the SQL Server that you are checking
