code: 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
docs: Pickle the metrics into a form that can be understood
          by the graphite pickle connector.