Class StatsdToRecordParser

java.lang.Object
com.arpnetworking.metrics.mad.parsers.StatsdToRecordParser
All Implemented Interfaces:
Parser<List<Record>,ByteBuffer>

public final class StatsdToRecordParser extends Object implements Parser<List<Record>,ByteBuffer>
Parses Statsd data as a Record. There are two Important differences compared to traditional statsd server implementations. First, each counter or meter value, which is a delta, is treated as a sample for that metric. Second, sets are not supported at this time because they would need to be pushed down to our bucketing and aggregation layer as a first-class metric type. Except for the differences described above this parser supports both the traditional, Data Dog, and Influx variants of the statsd protocol as defined here: https://github.com/b/statsd_spec https://docs.datadoghq.com/guides/dogstatsd/ https://github.com/influxdata/telegraf/tree/master/plugins/inputs/statsd#influx-statsd
Author:
Ville Koskela (ville dot koskela at inscopemetrics dot io)