Be sure to check out DynamicsPerf 2.0 QUERY ALERTS
DynamicsPerf 2.0 QUERY ALERTS
Archived post from 2016. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.
Be sure to check out DynamicsPerf 2.0 QUERY ALERTS