Datadog + New Relic: Monitor every layer of your stack

Datadog + New Relic: Monitor every layer of your stack

/ /
Published: November 4, 2016

Application performance monitoring (APM) dovetails nicely with infrastructure monitoring, allowing you to monitor app performance and end-user satisfaction in context with the rest of your infrastructure. That’s why we recently unveiled Datadog APM to complement our infrastructure monitoring platform and provide full-stack observability. Datadog also integrates with APM service provider New Relic, so you can see your app-level New Relic metrics alongside metrics from your app infrastructure and supporting technologies. And with our new integration with New Relic Synthetics, now you can see even more performance metrics in Datadog.

How APM and infrastructure monitoring fit together

image alt text

Infrastructure monitoring and APM focus on different layers of your stack. APM examines the user-facing aspects of application performance, helping you answer questions such as: how long does an end user need to wait before getting the service? And what code might be slowing things down? Infrastructure monitoring supplements that layer of visibility with detailed insight into the complex infrastructure supporting the application. After all, a user-facing performance problem, like excessively long response times, may arise from anywhere in the stack, due to a load balancing bottleneck, a database resource constraint, or countless other causes.

Our New Relic integration allows dev and ops teams to find issues in any part of their application stack. Together they help improve the observability of all system components and their interactions.

New Relic metrics in Datadog

New Relic provides application metrics such as Apdex score, request throughput and average response time to help you monitor app health and performance, complementing the application and infrastructure metrics you get from Datadog. Metrics like Apdex score help surface symptoms of problems and as such are often useful for alerting.

A Datadog template dashboard displaying key New Relic application metrics
A Datadog template dashboard displaying key New Relic application metrics

Apdex Score

As shown in the top right corner of the template dashboard above, Apdex score, or Application Performance Index score, is an open industry standard that estimates the end user’s satisfaction level on an application’s response time. The score is derived by taking the ratio of the number of satisfactory, timely web page responses to the total number of service requests.

The “satisfactory” threshold is specifically tailored for a particular app context. Because it is relatively more stable than response time, Apdex can serve as a robust alert metric for performance issues.

The graph shows the difference between a fluctuating average response time and an relatively stable Apdex score for the same application over the same time period
The graph shows the difference between a fluctuating average response time and an relatively stable Apdex score for the same application over the same time period

Synthetics: Monitoring app availability and load time

Adding to our support for New Relic’s high-level application metrics, Datadog now also captures metrics from New Relic Synthetics. It provides insight on end-user experience via availability and scriptable transaction checks from browser engines deployed worldwide. In Datadog, you can now graph and alert on metrics for app availability, load time, transaction checks, and more. You can also go deeper, breaking down a page’s load time by the exact loading processes, i.e., from DNS lookup, SSL negotiation and connection establishment, to the round-trip data transmission.

Datadog’s built-in template dashboard for New Relic Synthetics
Datadog’s built-in template dashboard for New Relic Synthetics

Correlate everything

Because Datadog integrates not only with New Relic but with 200+ other infrastructure technologies, you can easily correlate metrics and events between systems. With a dashboard displaying performance metrics from New Relic together with metrics from your app servers, load balancers, caches, and databases, you can quickly pinpoint the root cause of performance problems and start to investigate right away.

A sample dashboard displaying load time reported from New Relic with metrics from other parts of the infrastructure
A sample dashboard displaying load time reported from New Relic with metrics from other parts of the infrastructure

Connect, collaborate, and share

New Relic can report application errors, error analysis, alerts, or deployment events to Datadog based on the configurable webhook alert policy. Events reported by New Relic appear in Datadog’s event stream with a brief summary and a link to the specific incident. The searchable, chronological event stream allows users across the organization to collaboratively address New Relic events in context. Engineers can comment, assign, prioritize and @-mention anyone to send a direct message about a specific event. From there, teams can work together to efficiently resolve the issue using the data and tools available in Datadog.

Sample event reported from New Relic in the Datadog event stream
Sample event reported from New Relic in the Datadog event stream

Get started

If you are already a Datadog customer, you can add insights from New Relic’s APM and Synthetics to the metrics you’re already gathering from your infrastructure. Otherwise, you can right away.


Want to write articles like this one? Our team is hiring!