Skip to content

Add abstractions for alerting + Gmail and Grafana implementations #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

NamelessOne91
Copy link
Contributor

Provides initial abstraction for sending alerts via different channels when a failure occurs.
Initial (WIP) implementation for sending emails via Gmail and POSTing alerts to Grafana are provided and wired in.

AlertsManager is responsible of transparently handling the initialization of different Alerter interface implementations, selectively enable only some of them and decide whether an alerting failure results in an application failure.
Having this layer of indirection should also make development of further, future, improvements easier.
Such as e.g. trying to dispatch alerts in a parallel manner.

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.

1 participant