struct

CogUtil::PerformanceMonitor::AlertRule

Inherits Struct < Value < Object

Performance alert configuration

Constructors

new(name : String, metric_pattern : String, threshold : Float64, comparison : String, duration : Time::Span, severity : String, enabled : Bool = true)

Instance methods

comparison
comparison=(comparison : String)
duration
duration=(duration : Time::Span)
enabled
enabled=(enabled : Bool)
metric_pattern
metric_pattern=(metric_pattern : String)
name
name=(name : String)
severity
severity=(severity : String)
threshold
threshold=(threshold : Float64)
triggered?(value : Float64) : Bool