at one’s discretion vs optionally

at one’s discretion

optionally

adv
  • In an optional manner. Not mandatorily. 

How often have the words at one’s discretion and optionally occurred in a corpus of books? (source: Google Ngram Viewer )