web3.storage icon indicating copy to clipboard operation
web3.storage copied to clipboard

Explain Account Limits and current logging in Notion PI doc

Open mbommerez opened this issue 2 years ago • 1 comments

Context

Currently we are sending user notifications about storage usage over 75% of their limit. And we send W3s admin a daily email with people who have exceeded their limit (>100%).

But admin also would need to see history of which user is approaching their limit.

Current scope

To keep things simple, we just need to document in the Notion Initiative doc, what can be done to track down this information.

  • CRON job logs: https://github.com/web3-storage/web3.storage/actions/workflows/cron-storage-limits.yaml
  • MANDRILL logs: in Mailchimp/Mandrill we get logs of which email template has been sent to who, which details in what % bracket their usage is (if it is over 75% that is)
  • DB table without front end interface email_history, which tracks what email has been sent to who and when

Future

If there is a use case, we can look into other solutions to surface this information more easily or even automate things.

mbommerez avatar Jul 04 '22 10:07 mbommerez

Current situation is that the Email notifications CRON job has been disabled.

Keeping this ticket alive in the parking lot for when the service is reactivated.

mbommerez avatar Sep 21 '22 14:09 mbommerez