Skip to content

Commit

Permalink
docs: add comment about IS_REVIEW_APP
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Sep 18, 2024
1 parent 7301f99 commit c09f717
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/instrument.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ if (shouldInitSentry) {
integrations: [nodeProfilingIntegration()],
tracesSampleRate: 1.0,
profilesSampleRate: 1.0,
// IS_REVIEW_APP is set by `scalingo.json` only on review apps
environment: IS_REVIEW_APP ? "review-app" : NODE_ENV,
});
}
Expand Down

0 comments on commit c09f717

Please sign in to comment.