getsentry / getsentry/sentry

Trigger billing/usage alerts if I am forecast to go over my quota for the month

Open
#122,811 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Product Area: Alerts Waiting for: Product Owner
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 23m
Merged PRs (30d)
607

Description

Problem Statement

Currently I get alerts to tell me when I have used 40/60/80% of my budget, but that's not useful in itself. Billing alerts should take into account how far through the month we are.

  • If I have used 80% of my quota but we're 90% of the way through the month, I should NOT get an alert
  • If I have used 10% of my quota but we're 5% of the way through the month, I SHOULD get an alert

All I want to know is if I'm forecast to run out of quota.

Solution Brainstorm
if (percentOfQuotaUsed > percentOfProgressThroughTheMonth) {
  triggerUsageAlert()
}
Product Area

Settings - Spend Allocation

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in Settings - Spend Allocation by tracing the existing 40/60/80% budget alert behavior and its alert entry points. Define the forecast using quota usage versus progress through the month, then verify that alerts occur only when usage is ahead of monthly progress and add coverage for the two examples in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
payments
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.