Package com.wavefront.ingester
Class GraphiteDecoder
- java.lang.Object
-
- com.wavefront.ingester.GraphiteDecoder
-
@Deprecated public class GraphiteDecoder extends Object implements Decoder<String>
Deprecated.DEPRECATED: useReportMetricDecoderinstead. Graphite decoder that takes in a point of the type: [metric] [value] [timestamp] [annotations]- Author:
- Clement Pang (clement@wavefront.com).
-
-
Constructor Summary
Constructors Constructor Description GraphiteDecoder(String hostName, List<String> customSourceTags)Deprecated.GraphiteDecoder(Supplier<String> hostNameSupplier, List<String> customSourceTags)Deprecated.GraphiteDecoder(List<String> customSourceTags)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddecodeReportPoints(String msg, List<ReportPoint> out)Deprecated.Certain decoders support decoding the customer id from the input line itself.voiddecodeReportPoints(String msg, List<ReportPoint> out, String customerId)Deprecated.Decode graphite points and dump them into an output array.voiddecodeReportPoints(String msg, List<ReportPoint> out, String customerId, IngesterContext ctx)Deprecated.Decode graphite points and dump them into an output array.
-
-
-
Method Detail
-
decodeReportPoints
public void decodeReportPoints(String msg, List<ReportPoint> out, String customerId)
Deprecated.Description copied from interface:DecoderDecode graphite points and dump them into an output array. The supplied customer id will be set and no customer id extraction will be attempted.- Specified by:
decodeReportPointsin interfaceDecoder<String>- Parameters:
msg- Message to parse.out- List to output the parsed point.customerId- The customer id to use as the table for the result ReportPoint.
-
decodeReportPoints
public void decodeReportPoints(String msg, List<ReportPoint> out, String customerId, IngesterContext ctx)
Deprecated.Description copied from interface:DecoderDecode graphite points and dump them into an output array. The supplied customer id will be set and no customer id extraction will be attempted.- Specified by:
decodeReportPointsin interfaceDecoder<String>- Parameters:
msg- Message to parse.out- List to output the parsed point.customerId- The customer id to use as the table for the result ReportPoint.ctx- The ingester context with extra params for decoding.
-
decodeReportPoints
public void decodeReportPoints(String msg, List<ReportPoint> out)
Deprecated.Description copied from interface:DecoderCertain decoders support decoding the customer id from the input line itself.- Specified by:
decodeReportPointsin interfaceDecoder<String>- Parameters:
msg- Message to parse.out- List to output the parsed point.
-
-