Package com.wavefront.ingester
Class ReportSourceTagDecoder
- java.lang.Object
-
- com.wavefront.ingester.ReportSourceTagDecoder
-
- All Implemented Interfaces:
ReportableEntityDecoder<String,ReportSourceTag>
public class ReportSourceTagDecoder extends Object implements ReportableEntityDecoder<String,ReportSourceTag>
This class is used to decode the source tags sent by the clients. [@SourceTag action=save source=source sourceTag1 sourceTag2] [@SourceDescription action=save source=source description=Description]- Author:
- Suranjan Pramanik (suranjan@wavefront.com)., vasily@wavefront.com
-
-
Constructor Summary
Constructors Constructor Description ReportSourceTagDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecode(String msg, List<ReportSourceTag> out, String customerId, IngesterContext ctx)Decode graphite points and dump them into an output array.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.wavefront.ingester.ReportableEntityDecoder
decode, decode
-
-
-
-
Method Detail
-
decode
public void decode(String msg, List<ReportSourceTag> out, String customerId, IngesterContext ctx)
Description copied from interface:ReportableEntityDecoderDecode 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:
decodein interfaceReportableEntityDecoder<String,ReportSourceTag>- 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.
-
-