struct

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

age_at_event
Source
component_id
Source
component_type
Source
event
Source
memory_after
Source
memory_before
Source
memory_delta
Source
processing_time
Source
timestamp
Source