diff --git a/server/config/plugins.js b/server/config/plugins.js index ea8b7f4e..821f7314 100644 --- a/server/config/plugins.js +++ b/server/config/plugins.js @@ -1,4 +1,6 @@ require('dotenv').config({ path: '../.env' }); +const Sentry = require('@sentry/node'); +const Tracing = require('@sentry/tracing'); module.exports = () => ({ email: { @@ -18,5 +20,7 @@ module.exports = () => ({ }, sentry: { dsn: process.env.SENTRY_DNS || '', + integrations: [new Sentry.Integrations.Http({ tracing: true })], + tracesSampleRate: 1.0, }, });