do not register metrics if metrics subsystem is not enabled