struct CQL::Performance::PerformanceReport

Overview

Report data structure

Defined in:

performance/unified_report_generator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(duration : Time::Span, total_queries : Int32, slow_queries : Int32, errors : Int32, issues : Array(CQL::Performance::Issue) = [] of Issue, stats : Hash(String, CQL::Performance::StatsTracker) = {} of String => StatsTracker, metadata : Hash(String, String) = {} of String => String, latency : CQL::Performance::LatencyPercentiles = LatencyPercentiles.zero) #

[View source]

Instance Method Detail

def duration : Time::Span #

[View source]
def errors : Int32 #

[View source]
def issues : Array(Issue) #

[View source]
def latency : LatencyPercentiles #

[View source]
def metadata : Hash(String, String) #

[View source]
def slow_queries : Int32 #

[View source]
def stats : Hash(String, StatsTracker) #

[View source]
def timestamp : Time #

[View source]
def to_h : Hash(String, JSON::Any) #

[View source]
def to_json : String #

[View source]
def total_queries : Int32 #

[View source]