class CQL::Performance::Config::Profiling

Overview

Query profiling configuration

Defined in:

performance/config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def enabled=(enabled : Bool) #

[View source]
def enabled? : Bool #

[View source]
def log_all_queries=(log_all_queries : Bool) #

[View source]
def log_all_queries? : Bool #

[View source]
def log_slow_queries=(log_slow_queries : Bool) #

[View source]
def log_slow_queries? : Bool #

[View source]
def max_recorded_queries : Int32 #

[View source]
def max_recorded_queries=(max_recorded_queries : Int32) #

[View source]
def max_tracked_statements : Int32 #

Distinct SQL shapes, such as IN lists of varying length, would grow the stats map without bound.


[View source]
def max_tracked_statements=(max_tracked_statements : Int32) #

Distinct SQL shapes, such as IN lists of varying length, would grow the stats map without bound.


[View source]
def slow_query_threshold : Time::Span #

[View source]
def slow_query_threshold=(slow_query_threshold : Time::Span) #

[View source]
def very_slow_threshold : Time::Span #

[View source]
def very_slow_threshold=(very_slow_threshold : Time::Span) #

[View source]