- public ThreadPool(final Settings settings, final ExecutorBuilder<?>... customBuilders) {
+ public ThreadPool(final Settings settings, MeterRegistry meterRegistry, final ExecutorBuilder<?>... customBuilders) {
Possible fix is to use a NOOP meter registry:
- ThreadPool threadPool = new ThreadPool(settings);
+ ThreadPool threadPool = new ThreadPool(settings, MeterRegistry.NOOP);
CI is failing with:
Due to https://github.com/elastic/elasticsearch/commit/764269b39516f6257d6f994e2e8e4fc66ee68b2d#diff-2835e151b1e7435ff4760a9263e0ecbc359597a9ff02005fc7fec099d38549e6R197
Possible fix is to use a NOOP meter registry: