Not envy mandarin duck not envy fairy, a line of code half a day. Original: Taste of Little Sister (wechat official ID: XjjDog), welcome to share, please reserve the source.

Doraemon is an open source tool for online management of Prometheus alarm information as a Web-UI. Thank you 360, thank you egg yolk factory. Doraemon is easy to use.

To be honest, I still haven’t memorized Doraemon’s English, Doraemon, Doraemon, Doraemon. Of course, I don’t know Japanese either. Raiding mode, raiding mode, raiding mode. When XjjDog posted, there were only 277 stars.

https://github.com/Qihoo360/doraemon
Copy the code

I think the reason why it is difficult to promote tools is probably docker. If I’m not in this environment, like I’m an outsourcer, it’s very difficult to use this approach.

Some well-known reasons, whether docker, NPM, or even PIP, are very difficult to install in the domestic server environment. To configure changes to various sources, plus various agents. This is a nightmare for a tool like Docker-compose that wants to be used quickly.

This process is painless if you provide packaged software that can be easily installed and started.

And through the docker way to start up the service, unexpectedly there are 4, heavyweight mysql are on.

[root@localhost docker-compose]# docker ps -a
CONTAINER ID        IMAGE                               COMMAND                  CREATED             STATUS              PORTS                    NAMES
651e0d9e8d9a        360cloud/rule-engine:latest         ". / ruleengine - gate..."   50 seconds ago      Up 48 seconds                                docker-compose_ruleengine_1
079e001857f8        360cloud/doraemon-frontend:latest   "/ usr/local/openrest..."50 seconds ago Up 48 seconds 0.0.0.0:32000->80/ TCP docker-compose_doraemon-frontend_1 0a13302ACd67 360cloud/alert-gateway:latest"./doraemon"52 seconds ago Up 33 seconds 0.0.0.0:8080->8080/ TCP docker-compose_doraemon-backend_1 e2C33f41cfcf mysql:5.6.41"Docker - entrypoint. S..."2 minutes ago Up 51 seconds 0.0.0.0:3306->3306/ TCP docker-compose_mysql_1Copy the code

This is the official architecture, with the traditional Prometheus service on the left and DLAM on the bottom (forgive me if I write fluently).Rule Engine and Gateway are designed to replace tradition, so to speakAlertManager.

Look at the architecture below, which is another pattern I’m using now, and you can see the difference. AlertManager works well, but the configuration files aren’t very intuitive, and you have to log in to the server to make changes, which makes it even worse for customers. DLAM is designed to solve this problem.DLAM provides many common system management functions, such as user management and group management. The most important thing is to be able to configure alarm rules.

To create an alarm rule, we need to fill in the rule expression, for parameter, summary, and description parameters in Prometheus Alerting Rules. In addition, the data source and corresponding alarm plan need to be filled in.

As you can see, it’s still pretty full.

The core function is the online management of alarm rules, plus some DevOPs-like concepts in it, can play its value.

There are plenty of monitoring systems out there, including xJjDog, but Prometheus is by far the most popular. It would be nice to have a Web configuration tool that can do this.

Of all the monitoring components, there’s one for Prometheus, which taught fire to humankind, and which is trying to practice Loki, dancing on the palm of its hand

If I didn’t have to write an official account, I would probably join in the development of some features, but the desire is not enough. So Come on, Doraemon, Raiders, Doraemon and DLAM. I’m still waiting for a bum.

Xjjdog is a public account that doesn’t allow programmers to get sidetracked. Focus on infrastructure and Linux. Ten years architecture, ten billion daily flow, and you discuss the world of high concurrency, give you a different taste.