With real time streaming, your APM event data is sent to New Relic every five seconds. You can query and visualize your data for transactions, errors, and custom events in near real time. The smaller payloads result in faster chart refreshes and faster queries of data that is the most important to you.
No configuration is needed to take advantage of real time streaming. All you need to do is ensure your APM agent version is up to date.
Why it matters
Real time streaming doesn't result in more events being sent. The combination of more frequent posts, with a smaller number of events per post, results in approximately the same number of events per minute as there would be without real time streaming.
The following image shows a comparison between data sent to New Relic with and without real time streaming. Note that 10,000 is an example number of events; some agents have lower default limits.
The overall limits on how many events can be sent per minute haven't changed. Also, non-event data (spans, traces, and metrics) are unaffected; they're still sent every minute.
Use real time streaming to quickly understand the impact when something has changed, such as deploying a new app version.
- Examine key performance indicators (throughput, error rates, charting, etc.) in near real time.
- Respond quickly to failure conditions and anomalies.
- Get the most out of New Relic One dashboards.
- Reduce mean time to detection with APM events reporting every five seconds.
Agent version to automatically enable
To enable real time streaming, update to the latest New Relic APM agent. You don't need to configure anything to enable real time streaming; it will automatically report faster!
Real time streaming is supported by all APM agents. Here are the minimum agent versions:
- C SDK: v1.3.0 or higher
- Go: v2.8.0 or higher
- Java: v5.5.0 or higher
- .NET: v18.104.22.168 or higher
- Node.js: v5.13.0 or higher
- PHP: v22.214.171.124 or higher
- Python: v126.96.36.199 or higher
- Ruby: v188.8.131.529 or higher
If Transaction event reporting is disabled, this can affect some UI elements throughout New Relic. You may see some empty charts on some UI pages that rely on this data.
Query real time streaming data
When building charts, include the following in your NRQL query:
Be sure to add a
To set the refresh interval for time series charts, you can also specify the bucket size as an optional argument to the
Create real time streaming charts
You can visualize the results of your NRQL query in New Relic One:
- Go to one.newrelic.com, and at the top of the page, select Query your data.
- Use the chart builder to start building a chart.
- Select the advanced (NRQL) mode. (If you start with basic mode, switch to advanced mode to complete the next step.)
- In your NRQL query, adjust the
TIMESERIESclauses to take advantage of the 5 second refresh intervals.