Skip to content

Commit

Permalink
feat(app): add link between traces + rum (#1832)
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin authored Mar 13, 2024
1 parent 605c459 commit 30cba5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ const {
REACT_APP_DATADOG_CLIENT_TOKEN,
REACT_APP_VERSION,
REACT_APP_ENV,
REACT_APP_BACKEND_URL_V2,
REACT_APP_BACKEND_URL,
} = process.env

if (REACT_APP_ENV === "staging" || REACT_APP_ENV === "production") {
Expand All @@ -61,6 +63,7 @@ if (REACT_APP_ENV === "staging" || REACT_APP_ENV === "production") {
env: REACT_APP_ENV,
// Specify a version number to identify the deployed version of your application in Datadog
version: REACT_APP_VERSION,
allowedTracingUrls: [REACT_APP_BACKEND_URL_V2, REACT_APP_BACKEND_URL],
...DATADOG_RUM_SETTINGS,
})

Expand Down

0 comments on commit 30cba5e

Please sign in to comment.