Class OpenTSDBDecoder

  • All Implemented Interfaces:
    Decoder<String>

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

      • OpenTSDBDecoder

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

        public OpenTSDBDecoder​(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 ingesterContext)
        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.
        ingesterContext - 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.