Skip to content

Simple notifications around traffic spikes - #453

Merged
ukutaht merged 9 commits into
masterfrom
spike-notifications
Dec 11, 2020
Merged

ukutaht merged 9 commits into
masterfrom
spike-notifications

Conversation

@ukutaht

@ukutaht ukutaht commented Dec 9, 2020 •

Copy link
Copy Markdown
Contributor

Co-authored-by: Jerod Santo jerod@changelog.com
Streamed live at https://www.youtube.com/watch?v=dPMn2xQ7DDk
Simple notifications around traffic spikes #172

Changes

Adds a background worker to send notifications for traffic spikes. The behaviour is pretty simple:

  • Background worker runs every 15 minutes
  • If the current visitors number on the site is higher than configured threshold, sends an email to all recipients
  • Any further notifications are suppressed for 12 hours.

TODO:

  • Settings UI to configure the notification
  • Manual testing

Tests

  • Automated tests have been added

Changelog

  • Entry has been added to changelog

@ukutaht
ukutaht force-pushed the spike-notifications branch from c3d968d to b8ab181 Compare December 11, 2020 15:03
@ukutaht
ukutaht merged commit 1504dd5 into master Dec 11, 2020
@ukutaht
ukutaht deleted the spike-notifications branch December 11, 2020 15:04
@jerodsanto

Copy link
Copy Markdown
Contributor

It's alive!!! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants