Class PickleProtocolDecoder

    • Field Detail

      • logger

        protected static final Logger logger
        Deprecated.
    • Constructor Detail

      • PickleProtocolDecoder

        public PickleProtocolDecoder​(String hostName,
                                     List<String> customSourceTags,
                                     MetricMangler mangler,
                                     int port)
        Deprecated.
        Constructor.
        Parameters:
        hostName - the default host name.
        customSourceTags - list of source tags for this host.
        mangler - the metric mangler object.
        port - the listening port (for debug logging)
    • Method Detail

      • decode

        public void decode​(byte[] msg,
                           List<ReportPoint> out,
                           String customerId,
                           IngesterContext ctx)
        Deprecated.
        Description copied from interface: ReportableEntityDecoder
        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:
        decode in interface ReportableEntityDecoder<byte[],​ReportPoint>
        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.