To workaround this issue, exclude specific long-running queries by updating the microsoftsqlserver.properties file. Do doing this techically it would just disables them.
Steps:
- SSH into the Aria Operations node where the SQL Server adapter is configured.
- Open the microsoftsqlserver.properties file using a text editor:
vi /usr/lib/vmware-vcops/user/plugins/inbound/sql_server_adapter/conf/microsoftsqlserver.properties
- Add the following line in the file:
excluded_queries=Low Page Life Expectancy\,Buffer Alone\,Effective Memory\,Buffer Pool Size
- Save the file.
Note:
If the Buffer Alone query is excluded, the following metrics will not be collected:
- Buffer Pool Size on Microsoft SQL Server Instance resources
- Buffer Ideal Page Life Expectancy on Microsoft SQL Server Database resources
- Memory|Effective Server Total on Microsoft SQL Server Database resources
- Memory|Effective Used on Microsoft SQL Server Database resources
- Memory|Effective Used Pages on Microsoft SQL Server Database resources
- MS SQL Server Low Page Life Expectancy alert
Follow the below to address the Widget Interactions to reflect the data
- Try unselecting and reselecting the VM in the VMs Running Microsoft SQL widget.
- On macOS, hold the Command (⌘) key while clicking the VM.
- On Windows, try using Ctrl or Alt while clicking.
- If a tooltip appears while reselecting, click on "Internal interactions" to refresh the widget.