struct CQL::Performance::MonitorCounters

Overview

What the monitor itself observed: statements it recorded, the estimated time spent recording them and the wait for a pooled connection of the statements CQL::Execution.run reported.

Defined in:

performance/utilities.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(observed_statements : Int64, overhead : Time::Span, pool_wait : LatencyPercentiles, dropped_events : Int64) #

[View source]
def self.zero : self #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(observed_statements _observed_statements = @observed_statements, overhead _overhead = @overhead, pool_wait _pool_wait = @pool_wait, dropped_events _dropped_events = @dropped_events) #

[View source]
def dropped_events : Int64 #

def observed_statements : Int64 #

def overhead : Time::Span #

def pool_wait : LatencyPercentiles #

def to_h : Hash(String, Int64 | Float64) #

[View source]