elastic / elastic-transport-python

Transport classes and utilities shared among Python Elastic client libraries
https://elastic-transport-python.readthedocs.io
Apache License 2.0
20 stars 13 forks source link

Access to information about node and pool state #34

Open rbkumar88 opened 3 years ago

rbkumar88 commented 3 years ago

Hi,

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 Bharath

Sparkycz commented 3 years ago

@sethmlarson Any idea how the API of the methods should look?

sethmlarson commented 3 years ago

Likely a function that grabs a flat structure with a bunch of fields on it, maybe .transport_info()? Probably won't be available until v8.x

sethmlarson commented 2 years ago

Transferred this issue to elastic-transport-python as it would be implemented here in 8.x.