diff --git a/src/instrument.js b/src/instrument.js index abe2e6ecb28d455b6859288beee9a66c6e03f5a8..2afdbd0a34cf942826be1ecea1ac1e7334ad703a 100644 --- a/src/instrument.js +++ b/src/instrument.js @@ -3,7 +3,8 @@ const { version } = require('../package.json') const { isDev } = require('./helpers/env') Sentry.init({ - dsn: 'https://fa503fe00434433f805d1c715999b7f5@grandlyon.errors.cozycloud.cc/3', + dsn: + 'https://fa503fe00434433f805d1c715999b7f5@grandlyon.errors.cozycloud.cc/3', // Set tracesSampleRate to 1.0 to capture 100% // of transactions for performance monitoring. @@ -16,3 +17,4 @@ Sentry.init({ }) Sentry.setTag('method', 'TIERS-DIRECT') +Sentry.setTag('instance', process.env.COZY_URL)