AS7-4464: add method invocation metrics