我从哨兵那里收到这封邮件:
\n\n\n接近交易限额
\n您的组织 FooBar 在当前使用期间消耗了 80% 的交易容量。请务必记住,如果您达到配额并消耗您的按需支出,任何超额交易都将被丢弃,直到您转入 2021 年 12 月 18 日之后的下一个时期。
\n
我只是想使用使用哨兵来监视未捕获的异常。
\n但似乎哨兵监视了我所有的交易。那不是我想要的。
\n如何禁用对交易的监控,以便仅监控未捕获的异常?
\n如果减少traces_sample_rate,那么发送给哨兵的样本就会减少。
sentry_sdk.init(
dsn="https://39f146...@xxx.ingest.sentry.io/xxx",
integrations=[DjangoIntegration()],
traces_sample_rate=0.1, # < ------------------- reduce this
Run Code Online (Sandbox Code Playgroud)
文档:https ://docs.sentry.io/platforms/python/guides/bottle/configuration/sampling/
| 归档时间: |
|
| 查看次数: |
3215 次 |
| 最近记录: |