Added options to auth check and metric to specify time frame