blaze
blaze copied to clipboard
Allow for metric reporting of PoolManager connections
It'd be nice if there was a way to report metrics for the PoolManager that is used for the Http1Client. We have a situation where being able to view the total active, idle, and waiting connections for the PoolManager would be useful for debugging some issues with one of our projects.
Does anyone have any suggestions on how this might be added?
I think a constructor that returns a tuple would be best. Prior art:
- Ember has a subsclass of client that returns stats, but that has impaired binary compatible fixes.
- async-http-client exposes stats, but only from clients you create. See
AsyncHttpClientStats.