module
Session::Metrics::Helper
Overview
Helper module to record common session metrics
Extended Modules
Defined in:
metrics.crInstance Method Summary
- #record_active_count(store_type : String, count : Int64)
- #record_created(store_type : String)
- #record_deleted(store_type : String)
- #record_error(store_type : String, error_type : String)
- #record_expired(store_type : String)
- #record_load_time(store_type : String, duration : Time::Span)
- #record_loaded(store_type : String)
- #record_regenerated(store_type : String)
- #record_store_time(store_type : String, duration : Time::Span)
- #time_operation(store_type : String, operation : String, &block : -> T) : T forall T
Instance Method Detail
def time_operation(store_type : String, operation : String, &block : -> T) : T forall T
#