Sha256: 3c13905e0847ce00140f9c6d5e0733ebd7067f794795f834d4956af352d52a61
Contents?: true
Size: 443 Bytes
Versions: 5
Compression:
Stored size: 443 Bytes
Contents
module Cassandra module Utils module Stats class Compaction < Utils::CLI::Base def command 'nodetool compactionstats' end def output compaction = stdout.lines.any? { |l| l.include?('Compaction') } end def metric_name 'cassandra.compaction.running' end def task_id ['compaction', 'nodetool'] end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems