Skip navigation links

Package org.honton.chas.dogstatd.model

A simple client to push UDP messages to a local dogstatd agent.

See: Description

Package org.honton.chas.dogstatd.model Description

A simple client to push UDP messages to a local dogstatd agent.
 static public final Sender METRICS = new Sender();

 public void workSamples() {

    METRICS.send(new Histogram("histogram.name", latency);

    METRICS.send(new Gauge("round", i, tag));

    METRICS.send(new Gauge("round", i, tag));

    METRICS.send(new Counter("pi", 3.14));

    METRICS.send(new Event("title", "message", "tag1", "tag2"));
 }
 
Skip navigation links

Copyright © 2016–2018. All rights reserved.