Skip to content

Commit

Permalink
chore(vscode): increase rollbar sampling rate (#2355)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKless authored Dec 9, 2024
1 parent 368401c commit 270555b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/vscode/telemetry/src/lib/google-analytics-sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class GoogleAnalyticsSender implements TelemetrySender {
getOutputChannel().appendLine(`Uncaught Exception: ${error}`);

const shouldLogToRollbar = this.production
? Math.floor(Math.random() * 75) === 0
? Math.floor(Math.random() * 25) === 0
: true;
if (shouldLogToRollbar) {
this.rollbar.error(error);
Expand Down

0 comments on commit 270555b

Please sign in to comment.