Application level metrics collector library