class

HT2::PerformanceMetrics

Inherits Reference < Object

Performance metrics tracking for HTTP/2 connections

Constructors

Instance methods

latency_percentiles

Calculate latency percentiles

Source
receive_throughput_bps
Source
record_bytes_received(bytes : UInt64) : Nil
Source
record_bytes_sent(bytes : UInt64) : Nil

Record throughput

Source
record_stream_completed(stream_id : UInt32) : Nil
Source
record_stream_created(stream_id : UInt32) : Nil

Record stream lifecycle events

Source
record_stream_first_byte(stream_id : UInt32) : Nil
Source
security_events

Security event tracking

Source
send_throughput_bps

Get current throughput

Source
ttfb_percentiles
Source

Nested types