Skip to content

Commit

Permalink
Merge pull request #2646 from newrelic/issue2456
Browse files Browse the repository at this point in the history
REST API (v2) adds apps with limited instrumentation
  • Loading branch information
x8a committed Jun 14, 2021
2 parents f3117f8 + de4c045 commit 0ba89c0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ redirects:

Here are examples of how to use the New Relic REST API (v2) to add apps to [browser monitoring](/docs/browser/new-relic-browser/welcome-new-relic-browser/new-relic-browser) or to get a list of your browser apps for a specific [API key](/docs/apis/rest-api-v2/requirements/api-keys). This helps you manage deployment outside of New Relic One. These API calls are useful, for example, with larger organizations deploying multiple apps, or for integration partners who facilitate New Relic account creation and browser monitoring deployments.

<Callout variant="important">
When you add a browser app via API (v2), you can only instrument basic page load timing. To use instrumentation supporting all SPA features, see [Use Browser SPA agent](/docs/new-relic-solutions/best-practices-guides/full-stack-observability/browser-monitoring-best-practices-guide/#spa).

To add a fully instrumented app, go to [one.newrelic.com](https://one.newrelic.com), and click the **Add more data** button on the top right hand-side. Then, use the guided install to start monitoring your app.
</Callout>

## Add browser apps

To add an app to New Relic One, replace `${APIKEY}` with your [New Relic API key](/docs/apis/rest-api-v2/requirements/api-keys#rest-api-key), and replace `${STRING}` with the app's name in the following command. To accomplish the same task from the API Explorer, use your API key and go to **[rpm.newrelic.com/api/explore](https://rpm.newrelic.com/api/explore) > Browser Applications > POST Create**.
Expand Down

0 comments on commit 0ba89c0

Please sign in to comment.