Finch.HTTP1.PoolMetrics (Finch v0.20.0)
View SourceHTTP1 Pool metrics.
Available metrics:
:pool_index- Index of the pool:pool_size- Total number of connections of the pool:available_connections- Number of available connections:in_use_connections- Number of connections currently in use
Caveats:
- A given number X of
available_connectionsdoes not mean that currently exists X connections to the server sitting on the pool. Because Finch uses a lazy strategy for workers initialization, every pool starts with it's size as available connections even if they are not started yet. In practice this means thatavailable_connectionsmay be connections sitting on the pool or available space on the pool for a new one if required.