Fix api service metrics