struct
Azu::PerformanceMetrics::RequestMetric
- Azu::PerformanceMetrics::RequestMetric
- Struct
- Value
- Object
Overview
Request-specific metrics
Included Modules
- JSON::Serializable
Defined in:
azu/performance_metrics.crConstructors
- .new(endpoint : String, method : String, path : String, processing_time : Float64, memory_before : Int64, memory_after : Int64, status_code : Int32, timestamp : Time, request_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #endpoint : String
- #error?
- #memory_after : Int64
- #memory_before : Int64
- #memory_delta : Int64
- #memory_usage_mb
- #method : String
- #path : String
- #processing_time : Float64
- #request_id : String | Nil
- #status_code : Int32
- #timestamp : Time
Constructor Detail
def self.new(endpoint : String, method : String, path : String, processing_time : Float64, memory_before : Int64, memory_after : Int64, status_code : Int32, timestamp : Time, request_id : String | Nil = nil)
#