struct
Azu::PerformanceMetrics::AggregatedStats
- Azu::PerformanceMetrics::AggregatedStats
- Struct
- Value
- Object
Overview
Aggregated statistics for analysis
Included Modules
- JSON::Serializable
Defined in:
azu/performance_metrics.crConstructors
- .new(total_requests : Int32, error_requests : Int32, avg_response_time : Float64, min_response_time : Float64, max_response_time : Float64, p95_response_time : Float64, p99_response_time : Float64, error_rate : Float64, avg_memory_usage : Float64, peak_memory_usage : Float64, total_memory_allocated : Int64, start_time : Time, end_time : Time)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #avg_memory_usage : Float64
- #avg_response_time : Float64
- #end_time : Time
- #error_rate : Float64
- #error_requests : Int32
- #max_response_time : Float64
- #min_response_time : Float64
- #p95_response_time : Float64
- #p99_response_time : Float64
- #peak_memory_usage : Float64
- #start_time : Time
- #total_memory_allocated : Int64
- #total_requests : Int32
Constructor Detail
def self.new(total_requests : Int32, error_requests : Int32, avg_response_time : Float64, min_response_time : Float64, max_response_time : Float64, p95_response_time : Float64, p99_response_time : Float64, error_rate : Float64, avg_memory_usage : Float64, peak_memory_usage : Float64, total_memory_allocated : Int64, start_time : Time, end_time : Time)
#