pool icon indicating copy to clipboard operation
pool copied to clipboard

Expose useful pool stats

Open wrl314 opened this issue 9 years ago • 4 comments

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

wrl314 avatar Mar 18 '15 08:03 wrl314

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.

pheaver avatar Feb 28 '17 00:02 pheaver

@bos this seems useful to us as well, is there something missing for merge?

domenkozar avatar Feb 20 '19 05:02 domenkozar

I recall bos may be easier to reach by email than by github notification, @pheaver and @domenkozar.

chreekat avatar Jan 09 '20 11:01 chreekat

https://hackage.haskell.org/package/resource-pool-fork-avanov-0.2.4.0

avanov avatar Dec 14 '21 18:12 avanov