View Source Finch.HTTP1.PoolMetrics (Finch v0.17.0)
HTTP1 Pool metrics.
Available metrics:
:pool_index
- Index of the pool:pool_size
- Total number of connections of the pool:available_connections
- Number of avaialable connections:in_use_connections
- Number of connections currently in use
Caveats:
- A given number X of
available_connections
does 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_connections
may be connections sitting on the pool or available space on the pool for a new one if required.