I would like to use the REST API to retrieve the same data that is available through the APM’s All Transactions page.
I can see how I can get a list of all the available metrics (using https://api.newrelic.com/v2/applications/123/metrics.json)… and I could filter this list by providing a name “WebTransactionTotalTime” This gives me a list of all the metrics that start with “WebTransactionTotalTime”.
I can see that I can use https://api.newrelic.com/v2/applications/123/metrics/data.json to get back the data I want for one or more of those metrics… but the names would have to be provided explicitly for each metric. If I enter “WebTransactionTotalTime” I only get one metric back, not all the child metrics.
Is there a way to get more metrics back without having to list each and every one?
New Relic Edit
- I want this too
- I have more info to share (reply below)
- I have a solution for this
We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.