struct
CQL::Performance::PerformanceMetrics::QueryMetrics
- CQL::Performance::PerformanceMetrics::QueryMetrics
- Struct
- Value
- Object
Overview
Query performance metrics
Defined in:
performance/performance_metrics.crConstructors
Instance Method Summary
- #avg_execution_time : Time::Span
- #error_queries : Int64
- #error_rate : Float64
- #latency : LatencyPercentiles
- #max_execution_time : Time::Span
- #min_execution_time : Time::Span
- #queries_per_second : Float64
- #slow_queries : Int64
- #slow_query_rate : Float64
- #to_h : Hash(String, JSON::Any)
- #total_execution_time : Time::Span
- #total_queries : Int64
- #very_slow_queries : Int64
Constructor Detail
def self.new(total_queries : Int64, slow_queries : Int64, very_slow_queries : Int64, error_queries : Int64, total_execution_time : Time::Span, avg_execution_time : Time::Span, min_execution_time : Time::Span, max_execution_time : Time::Span, error_rate : Float64, queries_per_second : Float64, slow_query_rate : Float64, latency : LatencyPercentiles = LatencyPercentiles.zero)
#