Repository navigation
release(runway): cherry-pick chore: reduce Sentry trace sampling cp-13.40.0 - #44462
Merged
HowardBraham merged 1 commit intoJul 15, 2026
Merged
Conversation
…3.40.0 (#44451) ## **Description** Reduce Sentry trace sampling rate to reduce the changes we'll spend all of our performance quota prematurely in the future. Lately we've accidentally over-spent a few times, this would give us more of a buffer. ## **Changelog** CHANGELOG entry: null ## **Related issues** N/A ## **Manual testing steps** N/A ## **Screenshots/Recordings** N/A ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Single numeric tuning for observability volume; no auth, data handling, or functional behavior changes. > > **Overview** > Lowers the **default Sentry `tracesSampleRate`** for production extension builds from **0.75% to 0.5%** in `getTracesSampleRate` (`setupSentry.js`). > > CI branch rates, `METAMASK_DEBUG` (1.0), fake DSN, and manifest `flags.sentry.tracesSampleRate` overrides are unchanged—only the fallback when none of those apply. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit fadb937. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: Vaibhav Goyal <57912679+v-goyal@users.noreply.github.com>
|
HowardBraham
approved these changes
Jul 15, 2026
Contributor
|
No release label on PR. Adding release label release-13.40.0 on PR, as PR was cherry-picked in branch 13.40.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Reduce Sentry trace sampling rate to reduce the changes we'll spend all
of our performance quota prematurely in the future. Lately we've
accidentally over-spent a few times, this would give us more of a
buffer.
Changelog
CHANGELOG entry: null
Related issues
N/A
Manual testing steps
N/A
Screenshots/Recordings
N/A
Pre-merge author checklist
Docs and MetaMask
Extension Coding
Standards.
if applicable
guidelines).
Not required for external contributors.
Pre-merge reviewer checklist
app, test code being changed).
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
Note
Low Risk
Single numeric tuning for observability volume; no auth, data
handling, or functional behavior changes.
Overview
Lowers the default Sentry
tracesSampleRatefor productionextension builds from 0.75% to 0.5% in
getTracesSampleRate(
setupSentry.js).CI branch rates,
METAMASK_DEBUG(1.0), fake DSN, and manifestflags.sentry.tracesSampleRateoverrides are unchanged—only thefallback when none of those apply.
Reviewed by Cursor Bugbot for commit
fadb937. Bugbot is set up for automated
code reviews on this repo. Configure
here.
Co-authored-by: Vaibhav Goyal 57912679+v-goyal@users.noreply.github.com 8b02f4a