module Karma::Operations

Defined in:

operations.cr
operations/prometheus.cr
operations/stats.cr

Constant Summary

METRICS_MUTEX = Mutex.new
STARTED_AT = Time.monotonic

Class Method Summary

Class Method Detail

def self.health #

[View source]
def self.metrics(cluster : Cluster) : String #

[View source]
def self.record_batch_read(key_count : Int32) : Nil #

[View source]
def self.record_batch_write(item_count : Int32) : Nil #

[View source]
def self.record_command(success : Bool, latency_ms : Float64) : Nil #

[View source]
def self.record_compact : Nil #

[View source]
def self.record_query_timeout : Nil #

[View source]
def self.record_reconciliation(checked_points : Int64, mismatch_count : Int64, absolute_drift : Int64, max_abs_delta : Int64) : Nil #

[View source]
def self.record_retention : Nil #

[View source]
def self.stats(cluster : Cluster) #

[View source]
def self.verify_restore #

[View source]