The Events Dashboard displays SQLGrease Events.
SQLGrease has a highly configurable Event Engine. The SQLGrease Event Engine can be configured to generate events for a wide variety of conditions. Some examples of events are:
These events can be configured to avoid false positives by applying rules for an event within SQLGrease. A rule consists of a Field, a Relational Operator, and a single value or a set of values to compare to. Some examples of Fields that can be used in rules are:
Some examples of relational operators are:
Below is an example of a rule for generating events for long executions (executions longer than 20,000 milliseconds) while filtering out things such as backups, index rebuilds, etc. The rule also filters out specific queries (as identified by the query hash).
The SQLGrease Events Dashboard lets you see when events are triggered within SQLGrease. This can be helpful in spotting clusters of things such as long executions, query timeouts, queries in long lock waits. These are all actionable items which are indicators to research details in the SQLGrease user interface.