class

Session::Metrics::NullBackend

Inherits Session::Metrics::Backend < Reference < Object

Null backend - discards all metrics (default)

Instance methods

gauge(name : String, value : Float64, tags : Hash(String, String) = {} of String => String) : Nil

Record a gauge value

Source
increment(name : String, tags : Hash(String, String) = {} of String => String) : Nil

Record a counter increment

Source
timing(name : String, duration : Time::Span, tags : Hash(String, String) = {} of String => String) : Nil

Record a timing/duration

Source