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)
Source

Instance methods

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