Skip to content

Commit

Permalink
Merge pull request #5106 from kiva/sentry-configs
Browse files Browse the repository at this point in the history
fix: add sentry trace rate config defaults
  • Loading branch information
mcstover authored Dec 20, 2023
2 parents db9c80c + 13ac855 commit 7e40826
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion config/dev-local.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ module.exports = merge(base, devVm, {
snowplowUri: 'events.fivetran.com/snowplow/v5qt54ocr2nm',
enableGA: false,
gaId: 'UA-11686022-7', // dev-vm property
enableSentry: false,
sentryURI: 'https://[email protected]/1201287',
auth0: {
loginRedirectUrls: {
xOXldYg02WsLnlnn0D5xoPWI2i3aNsFD: 'https://www.development.kiva.org/authenticate?authLevel=recent',
Expand All @@ -23,7 +25,7 @@ module.exports = merge(base, devVm, {
enable: true,
browserCallbackUri: 'http://localhost:8888/process-browser-auth',
serverCallbackUri: 'http://localhost:8888/process-ssr-auth',
apiAudience: 'https://api.development.kiva.org/graphql',
apiAudience: 'https://gateway.development.kiva.org/graphql',
},
},
server: {
Expand Down
2 changes: 1 addition & 1 deletion config/dynamic.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {
photoPath: process.env.PHOTO_PATH || 'https://www-dev-kiva-org.freetls.fastly.net/img/',
publicPath: process.env.PUBLIC_PATH || `https://www.${baseUrl}/`,
sentryURI: process.env.SENTRY_URI || 'https://[email protected]/1201287',
sentryTraceSampleRate: process.env.SENTRY_TRACE_RATE || 0.1,
sentryTraceSampleRate: process.env.SENTRY_TRACE_RATE || 0.25,
snowplowUri: process.env.SNOWPLOW_URI || 'events.fivetran.com/snowplow/v5qt54ocr2nm',
transport: 'https',
},
Expand Down
2 changes: 1 addition & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
fbOgNameSpace: 'kivadotorg',
enableSentry: true,
sentryURI: 'https://[email protected]/1201288',
sentryTraceSampleRate: 0.1,
sentryTraceSampleRate: 0.25,
algoliaConfig: {
group: 'prod',
appId: 'H4ONVZQ2C6',
Expand Down

0 comments on commit 7e40826

Please sign in to comment.