AlertRaised class final

A rule became breached by a node.

Raised on the same bus as everything else, so an alert reaches a dashboard, events --follow and the audit trail by the paths that already exist — rather than needing a delivery mechanism of its own.

Inheritance

Constructors

AlertRaised(NodeId nodeId, String rule, String message, 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
message String
A line an operator can read.
final
nodeId NodeId
The breaching node.
final
rule String
The rule that is breached (its id, e.g. disk>90).
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