code: public StatsDReplicatorBuilder getStatsDReplicatorBuilder() {
          if (statsDReplicatorBuilder == null) {
              statsDReplicatorBuilder = StatsDReplicatorBuilder.statsDReplicatorBuilder();
  
              final String statsDPort = System.getenv("STATSD_PORT");
              if (statsDPort != null && !statsDPort.isEmpty()) {
                  statsDReplicatorBuilder.setPort(Integer.parseInt(statsDPort));
              }
  
              final String statsDHost = System.getenv("STATSD_HOST");
              if (statsDHost != null && !statsDHost.isEmpty()) {
                  statsDReplicatorBuilder.setHost(statsDHost);
              }
  
          }
          return statsDReplicatorBuilder;
      }
docs: Used to get the StatsD replicator builder.
  You can use this to configure StatsD.
  You can also use environment variables {@code STATSD_PORT} and {@code STATSD_HOST}.
  
  @return stats replicator builder.