Skip to content
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

fix: Capture less Sentry performance data in production #9487

Conversation

bnussman-akamai
Copy link
Member

@bnussman-akamai bnussman-akamai commented Aug 3, 2023

Description 📝

  • Decreases our Sentry performance capture rate from 20% to 10% in production

We used 100,000 transactions in 5 days with a capture rate of 20%. We need 100,000 transactions to last us 1 month so we need to use a percentage less than ~3.75%

How to test 🧪

  • Double check my math!

Copy link
Contributor

@jdamore-linode jdamore-linode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used 100,000 transactions in 5 days with a capture rate of 20%. We need 100,000 transactions to last us 1 month so we need to use a percentage less than ~16%

I'm probably misunderstanding how tracesSampleRate works, so I'm approving this in the meantime -- if a sample rate of 20% causes us to meet our 100,000 transaction limit in 5 days, won't a sample rate of 10% cause us to meet our limit in 10 days?

@bnussman-akamai bnussman-akamai added Add'tl Approval Needed Waiting on another approval! and removed Ready for Review labels Aug 3, 2023
@bnussman-akamai
Copy link
Member Author

bnussman-akamai commented Aug 3, 2023

Yikes, my fault. How does 2.5% sound? If we capture 2.5% of errors, we'd hit our limit in 40 days @jdamore-linode.

@jdamore-linode
Copy link
Contributor

Yikes, my fault. How does 2.5% sound? Should give us some wiggle room @jdamore-linode .

That sounds like it would work to me!

@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Aug 3, 2023
@bnussman-akamai bnussman-akamai merged commit 5b4a456 into linode:develop Aug 3, 2023
jaalah-akamai pushed a commit that referenced this pull request Aug 7, 2023
* capture `10%`

* Added changeset: Decreace Sentry capture rate

* Update packages/manager/.changeset/pr-9487-tech-stories-1691069597065.md

Co-authored-by: jdamore-linode <[email protected]>

* capture 2.5% of transactions

---------

Co-authored-by: Banks Nussman <[email protected]>
Co-authored-by: jdamore-linode <[email protected]>
jaalah-akamai pushed a commit that referenced this pull request Aug 7, 2023
* capture `10%`

* Added changeset: Decreace Sentry capture rate

* Update packages/manager/.changeset/pr-9487-tech-stories-1691069597065.md

Co-authored-by: jdamore-linode <[email protected]>

* capture 2.5% of transactions

---------

Co-authored-by: Banks Nussman <[email protected]>
Co-authored-by: jdamore-linode <[email protected]>
jaalah-akamai pushed a commit that referenced this pull request Aug 8, 2023
* capture `10%`

* Added changeset: Decreace Sentry capture rate

* Update packages/manager/.changeset/pr-9487-tech-stories-1691069597065.md

Co-authored-by: jdamore-linode <[email protected]>

* capture 2.5% of transactions

---------

Co-authored-by: Banks Nussman <[email protected]>
Co-authored-by: jdamore-linode <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants