module
CQL::Performance::QueryProfilerInterface
Direct including types
Defined in:
performance/interfaces.crInstance Method Summary
- #clear : Void
- #issues : Array(Issue)
-
#latency_percentiles : LatencyPercentiles
Zero unless the profiler keeps latency samples.
- #record_query(sql : String, params : Array(DB::Any), execution_time : Time::Span, rows_affected : Int64 | Nil = nil, error : String | Nil = nil, normalized_sql : String | Nil = nil) : Void
- #slowest_queries(limit : Int32) : Array(QueryData)
- #statistics
- #stats_trackers : Hash(String, StatsTracker)
Instance Method Detail
abstract
def record_query(sql : String, params : Array(DB::Any), execution_time : Time::Span, rows_affected : Int64 | Nil = nil, error : String | Nil = nil, normalized_sql : String | Nil = nil) : Void
#