AlertResolved class final

A rule stopped being breached.

The counterpart matters: an alert that fires and never clears teaches an operator to ignore alerts.

Inheritance

Constructors

AlertResolved(NodeId nodeId, String rule, DateTime at)
Creates the event.
const

Properties

at DateTime
When the event occurred (UTC).
finalinherited
hashCode int
The hash code for this object.
no setterinherited
nodeId NodeId
The node that recovered.
final
rule String
The rule that is no longer breached.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
A stable event type discriminator (used in JSON / streaming).
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payload() Map<String, dynamic>
Event-specific payload fields.
override
toJson() Map<String, dynamic>
JSON form (type + payload).
inherited
toString() String
A string representation of this object.
inherited

Operators

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