From 06c58fc818063e4ab15ea4d2c0391a10c9f5b9b0 Mon Sep 17 00:00:00 2001 From: Brian Hensley <48165493+brnhensley@users.noreply.github.com> Date: Wed, 22 Jan 2025 13:47:10 -0800 Subject: [PATCH] chore: formatting code to match our other doc's styles --- ...verage-browser-end-user-page-throughput-example-v2.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content/docs/apis/rest-api-v2/browser-examples-v2/average-browser-end-user-page-throughput-example-v2.mdx b/src/content/docs/apis/rest-api-v2/browser-examples-v2/average-browser-end-user-page-throughput-example-v2.mdx index e95b8ad724f..1afa5e3c7f9 100644 --- a/src/content/docs/apis/rest-api-v2/browser-examples-v2/average-browser-end-user-page-throughput-example-v2.mdx +++ b/src/content/docs/apis/rest-api-v2/browser-examples-v2/average-browser-end-user-page-throughput-example-v2.mdx @@ -16,10 +16,10 @@ The average browser throughput appears at the top right of the **Throughput ## Average page throughput [#h2-average] -To obtain the [average](/docs/apm/apis/requirements/calculating-average-metric-values-summarize) for the [time range](/docs/apm/apis/requirements/specifying-time-range-api-v2) (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](/docs/apm/apis/requirements/identification-code) and [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key#viewing). +To obtain the [average](/docs/apm/apis/requirements/calculating-average-metric-values-summarize) for the [time range](/docs/apm/apis/requirements/specifying-time-range-api-v2) (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](/docs/apm/apis/requirements/identification-code) and [REST API key](/docs/apis/rest-api-v2/requirements/rest-api-key#viewing). -``` -curl -X GET "https://api.newrelic.com/v2/applications/${APP_ID}/metrics/data.json" \ - -H "X-Api-Key:${API_KEY}" -i \ +```sh +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' ```