(self)
return message
Pickle the metrics into a form that can be understood
        by the graphite pickle connector.
Pickle the metrics into a form that can be understood
        by the graphite pickle connector.
Pickle the metrics into a form that can be understood by the graphite pickle connector .
def _pickle_batch(self):
        """
        Pickle the metrics into a form that can be understood
        by the graphite pickle connector.
        """
        # Pickle
        payload = pickle.dumps(self.batch)

        # Pack Message
        header = struct.pack("!L", len(payload))
        message = header + payload

        # Return Message
        return message
def _pickle_batch ( self ) : # Pickle payload = pickle . dumps ( self . batch ) # Pack Message header = struct . pack ( "!L" , len ( payload ) ) message = header + payload # Return Message return message