Azu::PerformanceMetrics::ComponentMetric
Inherits JSON::Serializable < Struct < Value < Object
Component lifecycle metrics
Constructors
new(component_id : String, component_type : String, event : String, timestamp : Time, processing_time : Float64 | Nil = nil, memory_before : Int64 | Nil = nil, memory_after : Int64 | Nil = nil, age_at_event : Time::Span | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
age_at_event
Sourcecomponent_id
Sourcecomponent_type
Sourceevent
Sourcememory_after
Sourcememory_before
Sourcememory_delta
Sourceprocessing_time
Sourcetimestamp
Source