module

Session::Metrics::Helper

Helper module to record common session metrics

Instance methods

record_active_count(store_type : String, count : Int64)
Source
record_created(store_type : String)
Source
record_deleted(store_type : String)
Source
record_error(store_type : String, error_type : String)
Source
record_expired(store_type : String)
Source
record_load_time(store_type : String, duration : Time::Span)
Source
record_loaded(store_type : String)
Source
record_regenerated(store_type : String)
Source
record_store_time(store_type : String, duration : Time::Span)
Source
time_operation(store_type : String, operation : String, &block : -> T) : T forall T
Source