Sample app using metrics