code: protected InstrumentedHttpClientConnectionManager createConnectionManager(Registry<ConnectionSocketFactory> registry,
                                                                                String name) {
          final Duration ttl = configuration.getTimeToLive();
          final InstrumentedHttpClientConnectionManager manager = new InstrumentedHttpClientConnectionManager(
                  metricRegistry,
                  registry,
                  null, null,
                  resolver,
                  ttl.getQuantity(),
                  ttl.getUnit(),
                  name);
          return configureConnectionManager(manager);
      }
docs: Create a InstrumentedHttpClientConnectionManager based on the
  HttpClientConfiguration. It sets the maximum connections per route and
  the maximum total connections that the connection manager can create
  
  @param registry
  @param name
  @return a InstrumentedHttpClientConnectionManger instance