Skip to content

Commit 827637c

Browse files
committed
chore: set commits on sentry release
also lower trace sample rate
1 parent c51acf3 commit 827637c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

frontend/src/ts/sentry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function init(): void {
2525
}),
2626
],
2727
// Tracing
28-
tracesSampleRate: 1.0, // Capture 100% of the transactions
28+
tracesSampleRate: 0.25, // Capture 100% of the transactions
2929
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
3030
tracePropagationTargets: ["localhost", /^https:\/\/api\.monkeytype\.com/],
3131
// Session Replay

frontend/vite.config.prod.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ export default {
148148
project: "frontend",
149149
release: {
150150
name: buildClientVersion(),
151+
setCommits: {
152+
commit: "HEAD",
153+
previousCommit: "HEAD^",
154+
},
151155
},
152156
applicationKey: "monkeytype-frontend",
153157
})

0 commit comments

Comments
 (0)