struct
Azu::PerformanceMetrics::ComponentMetric
- Azu::PerformanceMetrics::ComponentMetric
- Struct
- Value
- Object
Overview
Component lifecycle metrics
Included Modules
- JSON::Serializable
Defined in:
azu/performance_metrics.crConstructors
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #age_at_event : Time::Span | Nil
- #component_id : String
- #component_type : String
- #event : String
- #memory_after : Int64 | Nil
- #memory_before : Int64 | Nil
- #memory_delta
- #processing_time : Float64 | Nil
- #timestamp : Time
Constructor Detail
def self.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)
#