Jane::Info::Metrics
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(hostname : String, os : String, kernel : String, uptime : String, cpu_model : String, cpu_cores : Int32, cpu_usage : String, load_avg : String, total_memory : String, used_memory : String, free_memory : String, memory_usage : String, jane_version : String)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cpu_cores
Sourcecpu_cores=(cpu_cores : Int32)
Sourcecpu_model
Sourcecpu_model=(cpu_model : String)
Sourcecpu_usage
Sourcecpu_usage=(cpu_usage : String)
Sourcefree_memory
Sourcefree_memory=(free_memory : String)
Sourcehostname
Sourcehostname=(hostname : String)
Sourcejane_version
Sourcejane_version=(jane_version : String)
Sourcekernel
Sourcekernel=(kernel : String)
Sourceload_avg
Sourceload_avg=(load_avg : String)
Sourcememory_usage
Sourcememory_usage=(memory_usage : String)
Sourceos
Sourceos=(os : String)
Sourcetotal_memory
Sourcetotal_memory=(total_memory : String)
Sourceuptime
Sourceuptime=(uptime : String)
Sourceused_memory
Sourceused_memory=(used_memory : String)
Source