Class HistogramDecoder

  • All Implemented Interfaces:
    Decoder<String>

    @Deprecated
    public class HistogramDecoder
    extends Object
    implements Decoder<String>
    Deprecated.
    Decoder that takes in histograms of the type: [BinType] [Timestamp] [Centroids] [Metric] [Annotations]
    Author:
    Tim Schmidt (tim@wavefront.com).
    • Constructor Detail

      • HistogramDecoder

        public HistogramDecoder()
        Deprecated.
      • HistogramDecoder

        public HistogramDecoder​(String defaultHostName)
        Deprecated.
      • HistogramDecoder

        public HistogramDecoder​(Supplier<String> defaultHostNameSupplier)
        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.