# newrelic/newrelic-ruby-agent

New Relic RPM Ruby Agent

Repository: https://github.com/newrelic/newrelic-ruby-agent
Canonical: https://ross.abutalabs.com/products/newrelic-ruby-agent
Homepage: https://docs.newrelic.com/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby/
Language: Ruby
License: Apache-2.0
License Family: permissive
Topics: agent, ruby, apm-agent, hacktoberfest
Last push: 2026-09-02T16:16:32+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 98, longevity 100
- inputs: {"age_days": 6515, "days_push": 0, "days_rel": 13, "gap_med": 29.0, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1209, forks 608 (observed 2026-09-03T02:15:15.459152+00:00)

## What it is
The New Relic Ruby agent is an APM agent that instruments Ruby and Rails applications to monitor performance, errors, distributed traces, and business data in the New Relic platform. It is distributed as a gem (newrelic_rpm) or Rails plugin and is actively maintained by New Relic engineering teams.

## Use cases
- monitor performance of a Ruby on Rails application
- find and diagnose slow transactions and database queries in a Ruby app
- enable distributed tracing across microservices
- track errors and set up alerting for a Ruby application
- view logs in context with APM traces
- monitor background jobs and daemons in Ruby
- collect custom metrics and business data from a Ruby app
- track performance after deployments

## When to choose
- you run Ruby or Rails applications and want full APM with the New Relic platform
- you need transaction traces, error tracking, and distributed tracing for Ruby services
- you want a vendor-maintained, actively released agent with broad framework support
- you want logs in context and custom dashboards for Ruby apps

## When to avoid
- you want a self-hosted, vendor-neutral observability stack (e.g., OpenTelemetry)
- your application is not written in Ruby
- you cannot send application telemetry to a third-party SaaS service

## Facets
- artifact type: library
- maturity: active
- function: monitoring, tracing, alerting, logging, analytics
- domain: monitoring, backend, web-development, developer-tools
- platform: ruby, cross-platform
- tags: apm, observability, new-relic, performance-monitoring, distributed-tracing, rails, gem, devops

## Member repositories
- newrelic/newrelic-ruby-agent (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:15.459152+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:18:31.958487+00:00, confidence not recorded.
  - readme: https://github.com/newrelic/newrelic-ruby-agent (fetched 2026-09-03T02:15:15.459152+00:00, sha fc55389187c4)
  - homepage: https://docs.newrelic.com/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby/ (fetched 2026-08-29T12:26:24.863051+00:00, sha 19a523116acc)
  - site_page: https://docs.newrelic.com/ (fetched 2026-08-29T12:26:24.866032+00:00, sha 8a1a9454eb77)
  - site_page: https://docs.newrelic.com/es/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby (fetched 2026-08-29T12:26:24.868270+00:00, sha bc009a422df8)
  - site_page: https://docs.newrelic.com/fr/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby (fetched 2026-08-29T12:26:24.870314+00:00, sha 86476802c5f4)
  - site_page: https://docs.newrelic.com/jp/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby (fetched 2026-08-29T12:26:24.872500+00:00, sha d022cefe27aa)
  - site_page: https://docs.newrelic.com/kr/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby (fetched 2026-08-29T12:26:24.874415+00:00, sha 568d56f76df8)
  - site_page: https://docs.newrelic.com/pt/docs/apm/agents/ruby-agent/getting-started/introduction-new-relic-ruby (fetched 2026-08-29T12:26:24.876239+00:00, sha a7d78ba06b75)
  - site_page: https://docs.newrelic.com/docs/new-relic-solutions/get-started/intro-new-relic (fetched 2026-08-29T12:26:24.877986+00:00, sha 9b784f863058)
  - site_page: https://docs.newrelic.com/docs/apm/new-relic-apm/getting-started/introduction-apm (fetched 2026-08-29T12:26:24.879999+00:00, sha 17060e52d363)
- Data as of 2026-08-30T08:39:29.467469+00:00.
