New Relic

On this page 7

New Relic is a software-as-a-service observability platform that collects metrics, events, logs and traces from applications, infrastructure and user devices, stores them in a single telemetry database and lets engineers query, visualize and alert on that data. In cloud observability, it is one of the long-established commercial platforms, alongside Datadog and Dynatrace, that teams use to understand how distributed systems behave in production.

The company began in 2008 as a pioneer of hosted application performance monitoring (APM) and later broadened its product into a full platform with usage-based pricing, a SQL-like query language called NRQL and native support for OpenTelemetry data.

How New Relic collects and stores telemetry

New Relic gathers data through language agents, infrastructure agents, browser and mobile instrumentation, cloud integrations and open standards. All of this telemetry lands in the New Relic database (NRDB), a multi-tenant, columnar store designed for fast queries over very large volumes of time-stamped records.

Each data point is attached to an entity, which is anything that reports data or can be monitored: a service, a host, a Kubernetes cluster, a browser application or a synthetic check. Entities are linked by relationships, so the platform can draw service maps and show which upstream dependency is responsible for a slowdown.

The table below lists the main telemetry types and how New Relic typically obtains them.

Telemetry typeWhat it describesTypical source
MetricsNumeric measurements aggregated over timeAgents, Prometheus, cloud integrations
EventsDiscrete records with many attributesAPM transactions, browser page views
LogsTimestamped text emitted by softwareLog forwarders, agents with logs in context
TracesPath of one request through servicesAgents, OpenTelemetry SDKs
ProfilesResource use of code over timeContinuous profiling integrations
Telemetry types in New Relic and their sources

Agents instrument code automatically by hooking into common frameworks, which gives useful data with minimal code changes. Teams that prefer vendor-neutral instrumentation can instead send data through the OpenTelemetry Protocol (OTLP), which New Relic accepts natively.

Main capabilities of the New Relic platform

New Relic groups its features into capabilities built on the same data, which means a trace, the related logs and the host metrics can be viewed together without switching tools. The most widely used capabilities are summarized below.

CapabilityQuestion it answersKey signals
APMWhy is this service slow or failingThroughput, response time, error rate
Distributed tracingWhere does a request spend its timeSpans, service dependencies
Infrastructure monitoringAre hosts and containers healthyCPU, memory, disk, network
Browser and mobile monitoringWhat do real users experienceCore Web Vitals, crashes, load times
Synthetic monitoringIs the service reachable from outsideScripted checks, availability
Log managementWhat exactly happened at that momentLog lines linked to traces
Service levelsAre reliability targets being metSLIs, SLOs, error budget burn
Core New Relic capabilities and the questions they answer

Alerts are defined as conditions over NRQL queries, with thresholds that can be static or based on baseline anomaly detection. Correlation features group related incidents to reduce alert fatigue, although careful threshold design remains more effective than automatic grouping.

Querying data with NRQL

NRQL (New Relic Query Language) is the SQL-like language used to query everything stored in NRDB. Dashboards, alert conditions and most charts in the user interface are NRQL queries underneath, so learning the language is the most direct way to ask custom questions of production data.

A typical query such as SELECT percentile(duration, 95) FROM Transaction WHERE appName = 'checkout' FACET name SINCE 1 hour ago TIMESERIES returns the 95th percentile response time per endpoint over the last hour. The clauses FACET, TIMESERIES, SINCE and COMPARE WITH give NRQL its observability-specific shape, which differs from general-purpose SQL.

NRQL differs from PromQL, the query language of Prometheus, in a fundamental way: NRQL treats data mostly as rows of events with attributes, while PromQL operates on labeled time series. Engineers moving between the two systems should expect different idioms for rates, aggregation and joins.

New Relic competes in a crowded market and often coexists with open-source tools. The comparison below shows where it sits among the neighboring options in observability.

ToolDelivery modelPricing basisTypical strength
New RelicManaged SaaSData ingested and user seatsUnified data model, NRQL flexibility
DatadogManaged SaaSPer host and per productBroad integrations, infrastructure focus
DynatraceSaaS or managedConsumption of platform unitsAutomatic discovery and causal analysis
Prometheus and GrafanaOpen source, self-run or hostedInfrastructure and operations effortMetrics control, no vendor lock-in
SentrySaaS or self-hostedEvents and seatsDeveloper-centric error tracking
How New Relic relates to other observability tools

The pricing model is the most debated difference. New Relic charges mainly for gigabytes of data ingested beyond a free monthly allowance and for full platform users, so costs depend on telemetry volume and on how many engineers need complete access, not on the number of hosts.

Limitations and practical pitfalls of New Relic

The main operational risk with New Relic is uncontrolled data ingest. Verbose logs, high-cardinality custom attributes and unsampled traces can increase monthly costs quickly, so teams should set drop rules, sampling policies and budgets early.

  • Agent overhead is usually small, but deep transaction tracing in latency-sensitive services should be measured before it is enabled everywhere.
  • Default sampling of traces can hide rare failures; tail-based sampling keeps the interesting traces at higher infrastructure cost.
  • User seat types limit who can see certain features, which can surprise teams that expect everyone to have full access.
  • Vendor lock-in grows with proprietary agents and NRQL-heavy dashboards; instrumenting with OpenTelemetry keeps migration options open.

In simple terms

New Relic works like a flight recorder and dashboard for software. Small helper programs inside an application constantly report how fast it responds, where errors happen and how busy the servers are.

All of that information goes to one online service, where engineers can look at charts, search for the cause of a problem and receive alerts when something goes wrong. The key idea is that every piece of evidence sits in one place, so finding the reason for an outage takes minutes instead of hours.

A practical example

An online ticketing company runs about forty microservices on Kubernetes. During a concert presale, customers report that the checkout page hangs, although every server shows normal CPU usage.

The on-call engineer opens New Relic and filters distributed traces for the checkout service. The traces show that 95th percentile response time has jumped from 300 milliseconds to 6 seconds, and almost all of the extra time is spent waiting on calls to a third-party payment fraud API. The linked logs reveal repeated timeouts and retries against that API.

The team enables a circuit breaker that skips the fraud check for low-value orders while the provider recovers. Checkout latency returns to normal within ten minutes, and the team later adds an NRQL alert on external call duration so the same problem is detected before customers notice it.