module Session::Metrics::Helper

Overview

Helper module to record common session metrics

Extended Modules

Defined in:

metrics.cr

Instance Method Summary

Instance Method Detail

def record_active_count(store_type : String, count : Int64) #

[View source]
def record_created(store_type : String) #

[View source]
def record_deleted(store_type : String) #

[View source]
def record_error(store_type : String, error_type : String) #

[View source]
def record_expired(store_type : String) #

[View source]
def record_load_time(store_type : String, duration : Time::Span) #

[View source]
def record_loaded(store_type : String) #

[View source]
def record_regenerated(store_type : String) #

[View source]
def record_store_time(store_type : String, duration : Time::Span) #

[View source]
def time_operation(store_type : String, operation : String, &block : -> T) : T forall T #

[View source]