SlowQueryDetected class final

Emitted when a query's wall-clock duration crosses the configured slow-query threshold (or the connection's queryTimeout). Threshold and emission policy are infrastructure concerns; the event itself is a pure observability signal.

Inheritance

Constructors

SlowQueryDetected({required DateTime timestamp, required String connectionId, required String sql, required int durationMs})
const

Properties

connectionId → String
Domain-side connection id where the query ran.
final
durationMs → int
Wall-clock duration measured by the package.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sql → String
SQL text (already redacted of bound parameter values, per the upstream redaction policy).
final
timestamp → DateTime
UTC time when the event was emitted by the runtime.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited