Fixed passing client and project in creat_metric in Attribtue