Skip to content

Question: Should the tcp client reconnect? #54

Open
@bitkid

Description

@bitkid

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions