Metrics support working for REST and non-RestControllers and basic classes.