adjust cloudify handler and metric