authgear / authgear/authgear-server

Send alert when soft limit on usage is hit

Open
#2,116 2 comments 0 reactions 0 assignees View on GitHub
cooldown/enhancement
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

For MAUs, SMS and WhatsApp messages,
Besides the hard limit that the feature will stops working, also allow setting a soft limit so it will send an alert via webhook.

We can act on the alert like contacting the app owner.

The alert payload should include the context of the event:
- Project ID
- Contact Email of the project
- What soft limit is reached and the exact quantity of the metered properties

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the MAU, SMS, and WhatsApp metering and webhook delivery paths; done means configurable soft limits trigger alerts containing the project ID, contact email, limit reached, and exact metered quantity.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.