added metrix
create database metrics