How to install APM Insight Agent for Ruby on Rails Applications?
Install the APM Insight Agent for Ruby on Rails Applications by using the command: gem install site24x7_apminsight.gem
How to configure the site24x7_apminsight gem within my applications?
After installation, include site24x7_apminsight gem in applications Gemfile (gem 'site24x7_apminsight') or in any one of the initializers file (within initializers folder of the applications).
Where can i find the apminsight.conf file ?
You can find the apminsight .conf under <Gems Installed folder>/site24x7_apminsight/conf . You have to copy the apminsight.conf file to your Applications home directory.
How to add an APM Insight Monitor
for Ruby on Rails Applications?
After Installation of gem, you can
include the site24x7_apminsight gem within Gemfile/initializers, and then start the application.
This will add the monitor in the Site24x7 Server.
I have added APM Insight Agent in my Application Server with the correct credentials in apminsight.conf, but still i don't see any APM Insight monitor getting added in Site24x7 server?
1. Check if you have restarted /started the Application Server where you have installed site24x7_apminsight gem.
2. If you have restarted/started the Application Server and still the monitor is not added, check if you are able to connect to the Site24x7 server (https://site24x7.com) from your browser.
3. If there is a proxy server between APM Insight gem and Site24x7 server, specify the Proxy server configuration.
To check if there is a proxy, open a browser in the APM Insight gem installed machine and try connect to https://site24x7.com. It should display the login page of Site24x7. Check whether any proxy server is configured in the browser and specify those values in apminsight.conf
After APM Insight monitors gets added, why is the Availability and Health
status still in Not updated state?
APM Insight Availability and Health attributes will be updated only after one minute of your monitor addition.
Availability of APM Insight monitor shows Up, But I still can't see any data. Why?
One possible reason is that, no web transactions might have taken place in your
Application Server.
No data is shown in Site24x7 server, though web transaction is taking place in the application server (where the gem is deployed). Why?
After every one minute, gem will push the metric data to the Site24x7 server, so as to see the data after one minute (network traffic delay excluded). If you don't see the data even after one minute, it will be due to network problem which should be paid attention.
Availability of APM Insight Monitor shows down. What does this mean?
It means, either your application server is down or the communication between the agent & site24x7 server is not good.
Can I configure thresholds & alarms to the apdex, response time metric that I have received?
Yes, you can configure your
customized threshold values in the Site24x7 client in your account page after login.
Can I view the trace of a web transaction that consumes more response time?
Yes, all slow web transactions traces will be available under the APM Insight
Traces tab.
Why don't I see any traces of a web transaction which I thought to be very slow?
You might have disabled trace collection in your Agent. Enable trace collection
by setting true for the key transaction.trace.enabled.
Also, a web transaction is decided to be a slowest transaction based on your
threshold value set for the key transaction.trace.threshold. (specified
in seconds)
Why I don't see any metrics under database tab?
You might have disabled SQL Query
listening in your Agent. Enable it by setting true for the key sql.capture.enabled
Can I group more than one instance under an Application Name. If yes, how?
Yes. You can group more than one instances under an Application Name.
To do this, while including the gem in application server, specify the
same application name for key application.name in apminsight.conf file
Can I rename the Application Name, thus created in Site24x7?
No. Application Name cannot be renamed.
Can I Compare metrics across all/selective instances?
No.
Can I move an Instance under one Application to another Application?
No.
Will I be able to view all the APM Insight graphs, charts if my browser
doesn't have flash installed?
Yes. You can view all the graphs even if your browser doesn't have flash
installed. In such a case, graph will be rendered as java scripts.
Where can I see the list of all web transactions sorted by its average
response time?
You can see them under APM Insight Web Transaction tab with sorting value
'slowest average response time''.
How can I temporarily stop the APM Insight metric collection?
Metric Collection can be stopped by UnManaging the APM Insight Monitor.