Get the count of pool

Hi
I’m using HTTPoison and Hackney pools:

:hackney_pool.child_spec(:start, [checkout_timeout: ..., max_connections: 100]),
:hackney_pool.child_spec(:trigger, [checkout_timeout: ..., max_connections: 100]),
:hackney_pool.child_spec(:result, [checkout_timeout: ..., max_connections: 100])
HTTPoison.get('...', [...], [
...,
hackney: [pool: :start]
])

Is there any way to сatch the number of running/queuing connections and monitor them in live?
Thanks

1 Like