Filament::Stats::LatencyAnalyzer
Inherits Reference < Object
Constants
BUCKET_BOUNDS = [1.0, 5.0, 10.0, 25.0, 50.0, 100.0, 250.0, 500.0, 1000.0]
Histogram buckets: bounds in milliseconds
Constructors
new
SourceInstance methods
dns_queries
Sourcemax_ms
Sourcemean_ms
Sourcemin_ms
Sourceprocess(packet : Dissect::DecodedPacket) : Nil
Ingests a decoded packet to measure DNS resolution and handshake latencies
record_sample(label : String, duration_ms : Float64, timestamp : Time) : Nil
Adds an explicit sample (e.g. from TCP handshake RTT)
samples
Sourceto_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>