Skip to content

Event-driven system hosted on GCP that simulates alerts, applies some transformations, loads them into a NoSQL store and monitors them with dashboards.

Notifications You must be signed in to change notification settings

ahmedennaifer/alertmanager

Repository files navigation

TODO:

  • find grafana alternative that's compatible with firestore
  • make dashboards

Event-driven system that mocks alerts with an LLM and attemps to monitor and observe them.

diagram

GCP Services:

• [X] Google Cloud Scheduler - Triggers alert generation every minute and metrics calculation every 5 minutes.

• [X] Google Cloud Run (AlertGen) - Generates 5 alerts using Gemini API with JSON schema validation and publishes the data to pub/sub.

• [X] Google Pub/Sub - Handles communication between alerts and different services.

• [X] Google Cloud Functions - Processes incoming alerts with validation, enrichment, and storage.

• [X] Google Firestore - KV Store for storing processed and enriched alert data.

• [X] SendGrid - Sends email alerts for critical and high severity issues.

• [X] Google Cloud Run (Metrics) - Calculates system metrics from stored alert data.

• [ ] Grafana - Dashboard for monitoring.

• [ ] Google Gemini API - Generation the actual alerts according to the schema in the prompt.

Firebase screenshots: alerts metrics

About

Event-driven system hosted on GCP that simulates alerts, applies some transformations, loads them into a NoSQL store and monitors them with dashboards.

Topics

Resources

Stars

Watchers

Forks