115116117118119120121
if (host == null) { return null; } return RiemannReporter.forRegistry(metricsRegistry) .localHost(hostName) .build(new Riemann(getClient())); }