# Python: Method to get connection pool details

**URL:** https://discuss.elastic.co/t/python-method-to-get-connection-pool-details/261301
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [January 16, 2021, 12:00am UTC](https://discuss.elastic.co/t/python-method-to-get-connection-pool-details/261301 "2021-01-16T00:00:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rpotnuru](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@rpotnuru](https://discuss.elastic.co/u/rpotnuru)
#### Post date: [January 16, 2021, 12:00am UTC](https://discuss.elastic.co/t/python-method-to-get-connection-pool-details/261301/1 "2021-01-16T00:00:41Z")

</div>

Hello Team,

We are using ElasticSearch Python client for talking to ES, Is there any api/method to get the following when using the ES client.

1. total number of connections (active,closed, stale etc).
2. total number of connection pools (active,closed etc).

Thanks,  
Ravi Potnuru.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 13, 2021, 12:00am UTC](https://discuss.elastic.co/t/python-method-to-get-connection-pool-details/261301/2 "2021-02-13T00:00:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
