CogUtil::PerformanceMonitor::MetricSample
Inherits Struct < Value < Object
Real-time metric sample
Constructors
new(timestamp : Time, metric_name : String, value : Float64, tags : Hash(String, String) = Hash(String, String).new)
SourceInstance methods
metric_name
Sourcemetric_name=(metric_name : String)
Sourcetags
Sourcetags=(tags : Hash(String, String))
Sourcetimestamp
Sourcetimestamp=(timestamp : Time)
Sourceto_json(json : JSON::Builder)
Sourcevalue
Sourcevalue=(value : Float64)
Source