Monitoring on-premises Ruby applications

You can configure the Ruby data collector to monitor the on-premises Ruby applications and then send monitoring data to the Unified Agent.

Before you begin


  1. Run gem install stacktracer-20.06.00.gem to install the Ruby data collector.
  2. Run echo "gem 'zipkin-tracer','>=0.32'" >> Gemfile gem.
  3. Run echo "gem 'stacktracer','=20.06.00'" >> Gemfile gem.
  4. Rerun the Ruby on Rails application by running rails s -p 3000 -b
  5. Add the following environment variables:
    UA_LWDC_LISTENER_URL=http://<ip or host>:<port>
    UA_JAEGER_ENDPOINT_ZIPKIN_V2=http://<ip or host>:<port>/api/v2/spans
    • <ip or host> is the ip or host address where you install Unified Agent in on-premises environment.
    • <port> is the port that you configure in Installing and configuring Unified Agent plug-ins. By default, it is 8848 for UA_LWDC_LISTENER_URL, and 9411 for UA_JAEGER_ENDPOINT_ZIPKIN_V2.