From c09f717c3a4958e3211cfa9074bdac4377bee334 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Wed, 18 Sep 2024 16:46:38 +0200 Subject: [PATCH] docs: add comment about IS_REVIEW_APP --- lib/instrument.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/instrument.js b/lib/instrument.js index c4b06baac..7dbae099d 100644 --- a/lib/instrument.js +++ b/lib/instrument.js @@ -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, }); }