metrics integration