Class GraphiteDecoder

  • All Implemented Interfaces:
    Decoder<String>

    @Deprecated
    public class GraphiteDecoder
    extends Object
    implements Decoder<String>
    Deprecated.
    DEPRECATED: use ReportMetricDecoder instead. Graphite decoder that takes in a point of the type: [metric] [value] [timestamp] [annotations]
    Author:
    Clement Pang (clement@wavefront.com).
    • Constructor Detail

      • GraphiteDecoder

        public GraphiteDecoder​(List<String> customSourceTags)
        Deprecated.
      • GraphiteDecoder

        public GraphiteDecoder​(String hostName,
                               List<String> customSourceTags)
        Deprecated.
    • Method Detail

      • decodeReportPoints

        public void decodeReportPoints​(String msg,
                                       List<ReportPoint> out,
                                       String customerId)
        Deprecated.
        Description copied from interface: Decoder
        Decode 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:
        decodeReportPoints in interface Decoder<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: Decoder
        Decode 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:
        decodeReportPoints in interface Decoder<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: Decoder
        Certain decoders support decoding the customer id from the input line itself.
        Specified by:
        decodeReportPoints in interface Decoder<String>
        Parameters:
        msg - Message to parse.
        out - List to output the parsed point.