riemannClient = RiemannClient.tcp(ipAddress, clientPort);
riemannReporter = RiemannReporter.forRegistry(metrics)
.localHost(hostInfo.hostName.split(".")[0] + "." + hostInfo.datacenter)
.prefixedWith(getReporterPrefix(hostInfo.hostName))
.tags(Arrays.asList("check", "proto", "graph"))
.useSeparator(".")
.convertDurationsTo(TimeUnit.MILLISECONDS)
.convertRatesTo(TimeUnit.SECONDS)
.build(new Riemann(riemannClient));
riemannReporter.start(reportingIntervalMillis, TimeUnit.MILLISECONDS);
that's how we initialise the client. with this configuration .. should the client reconnect if the riemann server goes down and comes up again? It seems to me that it does not.
Thanks, Sascha!
riemannClient = RiemannClient.tcp(ipAddress, clientPort);
riemannReporter = RiemannReporter.forRegistry(metrics)
.localHost(hostInfo.hostName.split(".")[0] + "." + hostInfo.datacenter)
.prefixedWith(getReporterPrefix(hostInfo.hostName))
.tags(Arrays.asList("check", "proto", "graph"))
.useSeparator(".")
.convertDurationsTo(TimeUnit.MILLISECONDS)
.convertRatesTo(TimeUnit.SECONDS)
.build(new Riemann(riemannClient));
riemannReporter.start(reportingIntervalMillis, TimeUnit.MILLISECONDS);
that's how we initialise the client. with this configuration .. should the client reconnect if the riemann server goes down and comes up again? It seems to me that it does not.
Thanks, Sascha!