Hey @fs11, I too quite like that memory usage chart and do miss it in the new view of the APM page.
As @hwilkalis mentioned,
Memory/Physical is the closest I’ve managed to get to it, and unfortunately it does not result in a percentage output like you’re after. You can find this attribute—amongst others—from an application’s APM page > sidebar > Metrics explorer > type “memory” into the search bar.
Upon selecting it, a NRQL query is pre-populated for you, a bit like this:
SELECT average(newrelic.timeslice.value) * 1000000
WHERE metricTimesliceName = 'Memory/Physical'
AND appName LIKE '%'
SINCE 30 MINUTES AGO
- This particularly query splits out all of your apps’ memory usage due to
- To filter in/out specific apps, you can amend the
AND appName LIKE '%' condition to be more specific instead of using the
- Memory usage is given in bytes, which then gets multiple by 1,000,000 to return usage in MB.
If you want to alert on this, you can head over to Alerts & AI > Policies > New policy > Add condition > Categorize: NRQL > copy/paste in the aforementioned NRQL without the
You now have the option of setting either static, baseline or outlier thresholds. While not exactly percentage-based, they’re on par when you want to be alerted on sudden changes in memory usage.