Git Product home page Git Product logo

prom-elastic-alert's Introduction

English | 中文

prom-elastic-alert是一个基于查询Elasticsearch的告警组件.

如有帮助给个Star⭐鼓励一下~️

简介

本项目prom-elastic-alert主要是解决Elastic栈中, ELK告警市面上没有更多的日志告警开源组件可供选择.虽然之前有使用过Elastalert项目, 但是该项目已经不维护,并且我们在实际使用的过程中遇到了一些问题:

  • 1.组件使用Python编写,性能较差有时候造成告警延迟
  • 2.告警收敛、告警聚合、收敛等功能较弱
  • 3.组件运行数据不能对接Prometheus监控体系

本项目灵感来自于Elastalert

特性及优点

  • 1.使用Golang编写,跨平台、体积小、性能有足够的优势
  • 2.自身不实现告警聚合、收敛、分组等,这是alertmanager的优势所在,没必要自己再造轮子.引入PrometheusAlert实现多类型告警
  • 3.内置exporter,可以接入Prometheus监控体系,查看当前组件运行状态、数据等
  • 4.支持Elasticsearch7、Elasticsearch8
  • 5.提供现成的Grafana面板json文件

架构图

架构图

告警样例

钉钉通知

钉钉告警图

告警详情

告警详情图

Grafana面板

Grafana面板图

安装与使用

  • 1.下载release二进制文件,拷贝config.yaml,运行即可
  • 2.进入compose目录,使用docker-compose运行(example)
  • 3.自行编译, git clone 项目到本地, 之后go build即可

文档

详细文档: 使用文档

License

prom-elastic-alert is under the Apache 2.0 license. See the LICENSE file for details.

prom-elastic-alert's People

Contributors

dream-mo 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.