struct Cryload::Threshold

Overview

A single configured gate. #scope is nil for a run-wide gate and a URL substring pattern for a per-endpoint one.

Defined in:

cryload/ci_thresholds.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(metric : Metric, limit : Float64, scope : String | Nil = nil) #

Instance Method Detail

def comparator : Comparator #

def limit : Float64 #

def metric : Metric #

def name : String #

def scope : String | Nil #