modify metrics system to support shellbolt's metrics