class

CollectDAction

Inherits Reference < Object

Constants

PRIV_TOKEN = ENV["CL_PRIV_TOKEN"]? || ""
PRIV_TOKEN_SIZE = PRIV_TOKEN.size + 1
SUPPORTED_TAGS = {"cpu-total" => ["cpu.usage_idle"], "aggregation-cpu-average" => ["cpu-idle"], "load" => ["load"], "memory_usage" => ["percentage"], "disk_usage" => ["percentage"], "memory" => ["memory-used", "memory-buffered", "memory-cached", "memory-free"], "df-root" => ["percent_bytes-free", "percent_bytes-reserved"]}

Constructors

new(file_root : String, debug : Bool)
Source

Instance methods

process(data : CollectDData | Nil)
Source