Http module

Http_Statistics

structSource

What the running scheduler's pools hold right now, for tests and diagnostics (nothing here is needed to use the module). Call it on a scheduler: inside Io.io_run or a test client call.

Fields

read_buffers_in_use: int
server read buffers held by connections that are reading a request
read_buffers_free: int
read buffers kept for reuse (a connection between requests holds none)
idle_connections: int
client connections waiting in the pool
connections_opened: int
client connections opened over the scheduler's life
open_responses: int
responses that still hold their connection (body neither read to the end nor closed)
body_sources_free: int
response states kept for reuse
body_buffers_free: int
response read buffers kept for reuse
body_sources_created: int
response states allocated over the scheduler's life

See also