move internal service metric definitions to web layer