Coder Social home page Coder Social logo

am2ch's Introduction

DIY alert analysis

Alert analysis tool gathers alerts from webhook and Alertmanager API, stores it in ClickHouse database and provides dashboards for analyzing the data. Please refer to Cloudflare Blog for insights and experiences and PromCon 2023 in Berlin for the talk presentation.

This demo uses vector.dev to collect data from different sources and write the data in the datastore. we use one http_server vector instance - to receive Alertmanager webhook notifications, two http_client sources to query Alertmanager's alerts and silence API endpoints and two sinks for writing all the state logs in ClickHouse into alerts and silences tables.

The docker-compose will bring up several containers:

  • Cadvisor is used to generate system metrics for monitoring.
  • Prometheus is used to monitor and generate alerts.
  • Alertmanager is to route alerts and provide the alert events via webhook and API.
  • alertmanager_silence is to create an Alertmanager silence.
  • blackbox_exporter is for monitoring the sites and generating alerts.
  • ClickHouse is used to write the Alertmanager alert events into the datastore for alert analysis.
  • Vector.dev - to collect data from Alertmanager webhook, alerts and silences API, transform the data and write into ClickHouse.
  • Grafana is used to visualize the logs.

Pre-requisite:

docker

Getting started:

Bring up the containers using docker compose docker compose up

Please wait for about 5 minutes for the alerts to be triggered and visit http://localhost:3000/ to explore the Alerts and silences overview dashboard and play around.

alerts and silences overview

am2ch's People

Contributors

m0nikasingh avatar rira12621 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.