update to metrics supported in angular rewrite