class

Filament::Stats::IoRateAnalyzer

Inherits Reference < Object

Constructors

new(bucket_duration : Time::Span = Time::Span.new(seconds: 1))
Source

Instance methods

ascii_chart(width : Int32 = 60) : String

Generates a text ASCII sparkline graph representing throughput over time

Source
base_time
Source
bucket_duration
Source
buckets
Source
peak_bytes_per_bucket

Peak byte volume observed in any single bucket

Source
peak_packets_per_bucket

Peak packet volume observed in any single bucket

Source
process(packet : Dissect::DecodedPacket) : Nil

Ingests a decoded packet into the appropriate chronological bucket

Source