store in DB metric definition of check results