prometheus-api-client-python icon indicating copy to clipboard operation
prometheus-api-client-python copied to clipboard

add pool_size setting

Open rbihore opened this issue 1 year ago • 1 comments

In the case of multithreaded use, it could be useful to be able to adjust the max_poolsize

Added pool_size option in PrometeusConnect which sets a max_poolsize on the HTTPAdapter request session

rbihore avatar Nov 23 '23 14:11 rbihore

Hey @rbihore, with the latest changes in #274 you can provide a custom session with PrometheusConnect. Do you think it still makes sense to add this flag?

4n4nd avatar Feb 21 '24 21:02 4n4nd