struct CQL::Performance::PerformanceMetrics::SystemMetrics

Overview

System performance metrics

Defined in:

performance/performance_metrics.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(uptime : Time::Span, memory_usage_mb : Float64, cpu_usage_percent : Float64, active_connections : Int32, max_connections : Int32, connection_pool_utilization : Float64) #

[View source]

Instance Method Detail

def active_connections : Int32 #

[View source]
def connection_pool_utilization : Float64 #

[View source]
def cpu_usage_percent : Float64 #

[View source]
def max_connections : Int32 #

[View source]
def memory_usage_mb : Float64 #

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

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

[View source]