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)
SourceInstance methods
comparison
Sourcecomparison=(comparison : String)
Sourceduration
Sourceduration=(duration : Time::Span)
Sourceenabled
Sourceenabled=(enabled : Bool)
Sourcemetric_pattern
Sourcemetric_pattern=(metric_pattern : String)
Sourcename
Sourcename=(name : String)
Sourceseverity
Sourceseverity=(severity : String)
Sourcethreshold
Sourcethreshold=(threshold : Float64)
Sourcetriggered?(value : Float64) : Bool
Source