-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore: Configure sentry release and trace sample rate #5265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Configure sentry release and trace sample rate #5265
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/qrgt91oqe |
Issues
======
+ Solved 1
- Added 2
Complexity increasing per file
==============================
- app/sentry.ts 5
- config/environment.js 1
See the complete overview on Codacy |
@@ -58,7 +58,8 @@ module.exports = function(environment) { | |||
dsn : process.env.SENTRY_DSN || 'https://[email protected]/dummy', | |||
debug : !!process.env.SENTRY_DSN, | |||
development : !process.env.SENTRY_DSN, | |||
tracesSampleRate: process.env.SENTRY_TRACE_SAMPLE_RATE || 0.01, | |||
release : (process.env.SENTRY_PROJECT_NAME || 'eventyay-frontend') + '@' + process.env.npm_package_version, | |||
tracesSampleRate: process.env.SENTRY_TRACE_SAMPLE_RATE || 0.1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'tracesSampleRate'.
@@ -58,7 +58,8 @@ module.exports = function(environment) { | |||
dsn : process.env.SENTRY_DSN || 'https://[email protected]/dummy', | |||
debug : !!process.env.SENTRY_DSN, | |||
development : !process.env.SENTRY_DSN, | |||
tracesSampleRate: process.env.SENTRY_TRACE_SAMPLE_RATE || 0.01, | |||
release : (process.env.SENTRY_PROJECT_NAME || 'eventyay-frontend') + '@' + process.env.npm_package_version, | |||
tracesSampleRate: process.env.SENTRY_TRACE_SAMPLE_RATE || 0.1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Unexpected trailing comma.
Codecov Report
@@ Coverage Diff @@
## development #5265 +/- ##
===============================================
+ Coverage 22.82% 22.88% +0.05%
===============================================
Files 491 491
Lines 5226 5226
Branches 36 36
===============================================
+ Hits 1193 1196 +3
+ Misses 4028 4025 -3
Partials 5 5
Continue to review full report at Codecov.
|
No description provided.