Spend Management at Sentry #97580
Replies: 4 comments 6 replies
-
we currently build our Sentry environment with each project representing a distinct service and separate DSNs within each project for each environment that the service is deployed to. it sounds like if we were to enable Spend Management at the project level, then abnormal usage in one of our development environments would trigger a rate limiting event for the entire project, cutting traffic to our production environment in addition to the lower environment that was causing the spike; is that accurate, or will Spend Management be able to scope to specific DSNs for spans/error monitoring and only cut off traffic for the key that triggered the spike? |
Beta Was this translation helpful? Give feedback.
-
Hey Team, I reported #81912 a while ago. And I would love to have some kind of default receiver for Spend management as well. If nothing specific has been setup for alerting for that SKU or Project. |
Beta Was this translation helpful? Give feedback.
-
Additionally Developers from a team without admin roles should also be able to see how often they hit this limit Reference |
Beta Was this translation helpful? Give feedback.
-
(for context: I'm on an enterprise billing with fixed yearly budget) Thanks for starting this discussion. Really appreciate you looking for feedback. My org has hundreds of project so what I'm really looking for is some smart default where one project misbehaving (i.e., starting to have 1,000s of errors per minute) does not use all of the budget. This should also apply to slow burns (a project with less active maintenance that starts using too much budget). Another thing I'd like to be able to do is automatically enable sampling for the whole project (or team?) when such a burst happen. My thinking is that once you get to those level of errors, you probably don't need details on every single one of them. There should be a notion of smart-by-default budget allocation between projects. For instance, if 10 projects are using replay, one or more projects shouldn't be able to use 100% of the budget, leaving nothing to the other one. There should always be some minimum the other projects can use at any given time (probably not 10%, but something like 1%?). Alerts are good. It would be best for Spend Management to automatically take action, notify Sentry org owner + project owner + service owners (ideally, email + slack). A quick piece of feedback: naming those features should be intuitive. "auto-sampling" is transparent. "Spend management", "budget allocation", "auto-spike protection" is pretty ambiguous. Hope that helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Today we’re excited to open a discussion around Spend Management, a new usage control tool designed to give customers a fine-grained, predictable tool that provides protection against runaway and unexpected bills.
🔍 Use Cases
For developers:
For org owners:
🛠️ How it works
Spend Management is a gatekeeper that allows natural variation and controlled growth, while enforcing a configurable cap based on historical spend. This spend cap will grow proportional to your baseline usage increases. The default limits will cap growth at 20% or $20/week in increased spend.
Out of the box this will be a single organization-wide rule, but admins can also create rules for:
Key mechanics:
❓ FAQs
Q: What happens when a Spend Management rule is triggered?
Sentry stays available, but ingestion and enablement of features that cost additional money, like Seer autofixes, are paused/disabled until the next day.
Q: Can I opt out or adjust the limits?
Yes. You can tune limits from 5% to 20% growth per week, or set $-based thresholds. You can also use this functionality only for alerts, so you never lose observability.
Q: What if I know we’ll have a spike in usage?
You can add a manual allowance to your rule’s budget to absorb the spike without pausing usage.
Q: Does Spend Management replace spike protection, spend allocation, pay-as-you-go budgets?
Not immediately. However over time, Spend Management will become the unified system for spend control across Sentry.
Q: Why can’t I set it to 0% growth?
Spend Management needs some flexibility as zero growth prevents any adaptive behavior.
Q: I have hundreds of Sentry projects with new projects every day, will there be easy ways for me to manage all these rules?
Yes. We plan to build in defaults and templates that can be used for new and existing projects.
🙋 We love feedback
Tell us what matters to you, share your thoughts in the comments below:
Beta Was this translation helpful? Give feedback.
All reactions