struct

Azu::PerformanceMetrics::RequestMetric

Inherits JSON::Serializable < Struct < Value < Object

Request-specific metrics

Constructors

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

Instance methods

endpoint
Source
error?
Source
memory_after
Source
memory_before
Source
memory_delta
Source
memory_usage_mb
Source
method
Source
path
Source
processing_time
Source
request_id
Source
status_code
Source
timestamp
Source