Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

How to use NRQL to graph Nodejs/EventLoop/Usage


#1

I can see graphs that show metrics for NodeJS under APM > Node VMs page.
I can also add graphs from that page to a dashboard, or a NewRelic ONE dashboard.

What I haven’t figured out, is how to start out with a blank Newrelic One dashboard, and write an NRQL query to show the same Nodejs/EventLoop/Usage data.

Please could someone post an example?

Also, how do I set up a dashboard so that all graphs can be filtered by ‘server’ like the APM overview

Many thanks


#2

Hi, @andrew.hawkins: NRQL can only query events, not metrics. The information on the Node VMs page is metric data, so it cannot be queried with NRQL.

Here are the instructions for adding filtering to an Insights dashboard: https://docs.newrelic.com/docs/insights/use-insights-ui/manage-dashboards/filter-insights-dashboards. I am not sure if New Relic One dashboards have this capability yet.