public static class UdpTransport.DogstatsdRequest extends Object implements Transport.Request
| Constructor and Description |
|---|
DogstatsdRequest(com.timgroup.statsd.StatsDClient statsdClient,
Map<String,Long> lastSeenCounters) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCounter(DatadogCounter counter)
statsd has no notion of batch request, so counters are pushed as they are received
|
void |
addGauge(DatadogGauge gauge)
statsd has no notion of batch request, so gauges are pushed as they are received
|
void |
send()
For statsd the metrics are pushed as they are received.
|
public void addGauge(DatadogGauge gauge)
addGauge in interface Transport.Requestpublic void addCounter(DatadogCounter counter)
addCounter in interface Transport.Requestpublic void send()
send in interface Transport.RequestCopyright © 2018. All rights reserved.