Extract RestClient creation logic out of the ElasticsearchClient #9329
Labels
area/maintainability
Marks an issue as improving the maintainability of the project
kind/toil
Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.
version:8.1.0-alpha2
version:8.1.0
Marks an issue as being completely or in parts released in 8.1.0
Description
The
ElasticsearchClient
class creates a newRestClient
based on user configuration passed viaElasticsearchExporterConfiguration
. Splitting this out will allow us to test that the rest clients are properly constructed, and also allow us to reuse the same logic to construct high level REST clients for testing.The text was updated successfully, but these errors were encountered: