| Constructor and Description |
|---|
PickleProtocolDecoder(String hostName,
List<String> customSourceTags,
MetricMangler mangler,
int port)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decodeReportPoints(byte[] msg,
List<ReportPoint> out)
Certain decoders support decoding the customer id from the input line itself.
|
void |
decodeReportPoints(byte[] msg,
List<ReportPoint> out,
String customerId)
Decode graphite points and dump them into an output array.
|
protected static final Logger logger
public PickleProtocolDecoder(String hostName, List<String> customSourceTags, MetricMangler mangler, int port)
hostName - the default host name.customSourceTags - list of source tags for this host.mangler - the metric mangler object.port - the listening port (for debug logging)public void decodeReportPoints(byte[] msg,
List<ReportPoint> out,
String customerId)
DecoderdecodeReportPoints in interface Decoder<byte[]>msg - Message to parse.out - List to output the parsed point.customerId - The customer id to use as the table for the result ReportPoint.public void decodeReportPoints(byte[] msg,
List<ReportPoint> out)
DecoderdecodeReportPoints in interface Decoder<byte[]>msg - Message to parse.out - List to output the parsed point.Copyright © 2017. All rights reserved.