Upgrade APM Insight Ruby on Rails Agent


There are two methods using which the Ruby agent can be upgraded:

  • Update Gem from rubygems.org
  • Update Gem from appmanager.com

Update Gem from rubygems.org

Go to the application home directory, execute command bundle update apminsight to update to the latest version of the Ruby agent.

Update Gem from appmanager.com

  • Download the latest agent APM Insight Ruby on Rails Agent gem from here.
  • Execute command gem install <path to gem file>\apminsight.gem 
  • Go to application home directory, execute command bundle update --local

Note:
1. Customers upgrading to Applications Manager 14440 or above must upgrade their Ruby Agent from version 1.0.0/1.0.1 to 1.8.1 or above.
2. While upgrading Ruby Agent from version 1.0.0/1.0.1 to 1.8.1 or above,  the following keys in apminsight.conf file needs to be updated:
          a. license.key value from Applications Manager web client APM Insight tab > Help Card > License Key needs to be added.
          b. apm.host value needs to be changed to https://<appmanager_host>:<ssl_port> or http://<appmanager_host>:<http_port> after upgrade.

Example 1:
license.key=APMI_e448c81fe4927e0495e868124c7d345c2c2f0012f4796b154f4b1827fe56d119
apm.host=https://localhost:8443/

Example 2:
license.key=APMI_e448c81fe4927e0495e868124c7d345c2c2f0012f4796b154f4b1827fe56d119
apm.host=http://localhost:9090/

Visit Configuration Guide page for more details.