struct

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)
Source

Instance methods

metric_name
Source
metric_name=(metric_name : String)
Source
tags
Source
tags=(tags : Hash(String, String))
Source
timestamp
Source
timestamp=(timestamp : Time)
Source
to_json(json : JSON::Builder)
Source
value
Source
value=(value : Float64)
Source