Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sentry: Transactions quota 80% depleted

Tags:

sentry

I get this mail from sentry:

Sentry: Transactions quota 80% depleted

Approaching Transactions Quota

Your organization FooBar has consumed 80% of its transactions capacity for the current usage period. It’s important to keep in mind that, should you hit your quota, and consume your on-demand spend, any excess transactions will be dropped until you roll over into the next period after Dec. 18, 2021.

I just want to use use sentry to monitor uncaught exceptions.

But it seems that sentry monitors all my transactions. That's not what I want.

How can I disable the monitoring of my transactions, so that only uncaught exceptions get monitored?

like image 292
guettli Avatar asked Nov 15 '25 15:11

guettli


1 Answers

If you reduce the traces_sample_rate, then less samples will be sent to sentry.

sentry_sdk.init(
    dsn="https://[email protected]/xxx",
    integrations=[DjangoIntegration()],
    traces_sample_rate=0.1,  # < ------------------- reduce this
 

Docs: https://docs.sentry.io/platforms/python/guides/bottle/configuration/sampling/

like image 144
guettli Avatar answered Nov 18 '25 21:11

guettli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!