The average browser throughput appears at the top right of the Throughput by browser chart on your Summary page. This is the average pages per minute (PPM) by browser type in the time range shown on the chart.
Average page throughput
Important
While the examples utilize New Relic's REST API v2, we recommend using NRQL functions for executing metric timeslice queries. Each API value can be mapped to an equivalent NRQL function. To learn how to create NRQL queries based on these API examples, refer to our documentation.
To obtain the average for the time range (default is last 30 minutes), use the following command. Be sure to replace the $APP_ID
and $API_KEY
variables in this example with your specific application ID and REST API key.
bash
$curl -X GET "https://api.newrelic.com/v2/applications/$APP_ID/metrics/data.json" \> -H "X-Api-Key:$API_KEY" -i \> -d 'names[]=EndUser&values[]=requests_per_minute&summarize=true'