Applications Manager's Ruby agent deployed on a Rails platform gives you end-to-end web-transaction awareness enabling you to isolate performance issues and resolve them quickly.
Applications Manager requires a monitoring agent (ruby gem) to be deployed in your application server to monitor Ruby application performance. Download the latest Ruby Agent and deploy it in your application server. The agent collects application performance metrics and sends it to the central Applications Manager server at fixed intervals i.e. every 60 seconds.
Ruby Agent installation can be done in two ways:
After installation of the gem:
A copy of the configuration file apminsight.conf will be available in the <Gem Installed folder>/apminsight/conf/ directory. Configure the class name in the configuration file (include.packages), so that the methods in that class can be instrumented and details will be reported in tracedata.
Open the apminsight.conf file in any text editor and include the following keys:
The following configuration options are mandatory and should be provided for the agent to be initialized:
More configuration options of APM Insight Ruby Agent can be found here.
Note: To check if the agent is installed correctly, use the command gem list. This command will list all the installed gem in the machine. Check if the apminsight gem file is included in the list.
For troubleshooting tips, go to our Support Portal.