Added Sentry User Feedback Button

This commit is contained in:
Ahmad 2024-12-07 14:37:44 -05:00
parent 952b523bfe
commit a3e60402f9
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
2 changed files with 16 additions and 5 deletions

View file

@ -8,15 +8,22 @@ Sentry.init({
dsn: 'https://bb697105eaabbc6f70af12e84e936ded@o4508368569368576.ingest.us.sentry.io/4508368582017024',
// Add optional integrations for additional features
integrations: [Sentry.replayIntegration()],
integrations: [
Sentry.replayIntegration({
maskAllText: true,
blockAllMedia: true,
}),
Sentry.feedbackIntegration({
colorScheme: 'system',
enableScreenshot: true,
}),
],
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,
// Define how likely Replay events are sampled.
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
replaysSessionSampleRate: 0.5,
// Define how likely Replay events are sampled when an error occurs.
replaysOnErrorSampleRate: 1.0,

View file

@ -80,7 +80,11 @@ const config = {
},
},
},
plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography'), fluid],
plugins: [
require('tailwindcss-animate'),
require('@tailwindcss/typography'),
fluid,
],
} satisfies Config;
export default config;