gpt4 book ai didi

Sentry:交易配额已耗尽 80%

转载 作者:行者123 更新时间:2023-12-05 03:34:30 25 4
gpt4 key购买 nike

我从 Sentry 那里收到了这封邮件:

Sentry:交易配额已耗尽 80%

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.

我只是想用use sentry来监控未捕获的异常。

但是似乎 Sentry 监视着我所有的交易。这不是我想要的。

如何禁用对我的交易的监控,以便只监控未捕获的异常?

最佳答案

如果您降低traces_sample_rate,那么发送到 Sentry 的样本就会减少。

sentry_sdk.init(
dsn="https://39f146...@xxx.ingest.sentry.io/xxx",
integrations=[DjangoIntegration()],
traces_sample_rate=0.1, # < ------------------- reduce this

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

关于Sentry:交易配额已耗尽 80%,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70135864/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com