Optional
enabled?: booleanIf set to false
, neither queries nor slow queries will be tracked.
Optional
maxMaximum query string length in bytes that will be kept in the list.
Optional
maxMaximum number of slow queries to be kept in the list.
Optional
slowThreshold execution time in seconds for when a query will be considered slow.
Optional
trackIf set to true
, bind parameters will be tracked along with queries.
Optional
trackIf set to true
and enabled
is also set to true
, slow queries will be
tracked if their execution time exceeds slowQueryThreshold
.
Options for query tracking.
See Database#queryTracking.