pool
pool copied to clipboard
Expose useful pool stats
Various stats about pool activity exposed via 'stats' function. Useful when tied into a monitoring framework to determine if pool is properly sized.
Stats:
- highwater usage
- current usage
- number of takes
- number of creates
- number of creation failures
Hello, can someone comment on whether this PR may be accepted or not? We have been using our patched version of this library in production for a while now and would love to switch to the official one.
@bos this seems useful to us as well, is there something missing for merge?
I recall bos may be easier to reach by email than by github notification, @pheaver and @domenkozar.
https://hackage.haskell.org/package/resource-pool-fork-avanov-0.2.4.0