From d0d4712742edba2fe55414d098462c53bf622c76 Mon Sep 17 00:00:00 2001 From: tomsun28 Date: Fri, 11 Feb 2022 15:23:29 +0800 Subject: [PATCH] =?UTF-8?q?[home]=E6=96=B0=E5=A2=9Ehertzbeat=E6=96=87?= =?UTF-8?q?=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/blog/2022-02-11-hertzbeat.md | 121 ++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 home/blog/2022-02-11-hertzbeat.md diff --git a/home/blog/2022-02-11-hertzbeat.md b/home/blog/2022-02-11-hertzbeat.md new file mode 100644 index 0000000..05f6303 --- /dev/null +++ b/home/blog/2022-02-11-hertzbeat.md @@ -0,0 +1,121 @@ +--- +title: 开源监控告警项目HertzBeat发布并进入Dromara孵化 +author: tom +author_title: tom +author_url: https://github.com/tomsun28 +author_image_url: https://avatars.githubusercontent.com/u/24788200?s=400&v=4 +tags: [opensource] +--- + +# 开源监控告警项目HertzBeat发布并进入Dromara孵化 + +![tan-cloud](https://cdn.jsdelivr.net/gh/dromara/hertzbeat@gh-pages/img/badge/web-monitor.svg) +![tan-cloud](https://cdn.jsdelivr.net/gh/dromara/hertzbeat@gh-pages/img/badge/ping-connect.svg) +![tan-cloud](https://cdn.jsdelivr.net/gh/dromara/hertzbeat@gh-pages/img/badge/port-available.svg) +![tan-cloud](https://cdn.jsdelivr.net/gh/dromara/hertzbeat@gh-pages/img/badge/database-monitor.svg) +![tan-cloud](https://cdn.jsdelivr.net/gh/dromara/hertzbeat@gh-pages/img/badge/custom-monitor.svg) +![tan-cloud](https://cdn.jsdelivr.net/gh/dromara/hertzbeat@gh-pages/img/badge/threshold.svg) +![tan-cloud](https://cdn.jsdelivr.net/gh/dromara/hertzbeat@gh-pages/img/badge/alert.svg) + +## 📫 前言 + +> 毕业后投入很多业余时间也做了一些开源项目,[Sureness](https://github.com/dromara/sureness) [Bootshiro](https://gitee.com/tomsun28/bootshiro) [Issues-translate-action](https://github.com/usthe/issues-translate-action) , +> 当时上班有空就回答网友问题,下班回家写开源代码,远程帮人看问题,还总感觉时间不够用,当时想如果不去上班能做自己热爱的该多好。 +> 想着年轻就要折腾,何况还是自己很想做的。于是乎,21年底放弃激励裸辞开始全职开源了(这里感谢老婆大人的全力支持),也是第一次全职创业。 +> 自己在APM领域做了多年,当然这次创业加开源的方向也就是老本行APM监控系统,我们开发一个支持多种监控指标(更多监控类型指标正在适配中),拥有自定义监控,支持阈值告警通知等功能,面向开发者友好的开源监控项目-HertzBeat赫兹跳动。 +> 想到很多开发者和团队拥有云上资源,可能只需要使用监控服务而并不想部署监控系统,我们也提供了可以直接登陆使用的SAAS云监控版本-[TanCloud探云](https://console.tancloud.cn)。 +> 希望大家多多支持点赞,非常感谢。 + +## 🎡 介绍 + +> [HertzBeat赫兹跳动](https://github.com/dromara/hertzbeat) 是一个支持网站,API,PING,端口,数据库等监控类型,拥有易用友好的可视化操作界面的开源监控告警项目。 +> 当然,我们也提供了对应的[SAAS云监控版本](https://console.tancloud.cn),中小团队和个人无需再为了监控自己的网站资源,而去部署一套繁琐的监控系统,[登陆即可免费开始](https://console.tancloud.cn)监控之旅。 +> HertzBeat 支持自定义监控,只用通过配置YML文件我们就可以自定义需要的监控类型和指标,来满足常见的个性化需求。 +> HertzBeat 模块化,`manager, collector, scheduler, warehouse, alerter` 各个模块解耦合,方便理解与定制开发。 +> HertzBeat 支持更自由化的告警配置(计算表达式),支持告警通知,告警模版 +> 欢迎登陆 HertzBeat 的 [云环境TanCloud](https://console.tancloud.cn) 试用发现更多。 +> 我们正在快速迭代中,欢迎参与加入共建项目开源生态。 + +> `HertzBeat`的多类型支持,易扩展,低耦合,希望能帮助开发者和中小团队快速搭建自有监控系统。 + +更多可以通过演示视频来直观了解功能: https://www.bilibili.com/video/BV1Vi4y1f7i8 + + +## 🥐 模块 + +- **[manager](https://github.com/dromara/hertzbeat/tree/master/manager)** 提供监控管理,系统管理基础服务 +> 提供对监控的管理,监控应用配置的管理,系统用户租户后台管理等。 +- **[collector](https://github.com/dromara/hertzbeat/tree/master/collector)** 提供监控数据采集服务 +> 使用通用协议远程采集获取对端指标数据。 +- **[scheduler](https://github.com/dromara/hertzbeat/tree/master/scheduler)** 提供监控任务调度服务 +> 采集任务管理,一次性任务和周期性任务的调度分发。 +- **[warehouse](https://github.com/dromara/hertzbeat/tree/master/warehouse)** 提供监控数据仓储服务 +> 采集指标结果数据管理,数据落盘,查询,计算统计。 +- **[alerter](https://github.com/dromara/hertzbeat/tree/master/alerter)** 提供告警服务 +> 告警计算触发,监控状态联动,告警配置,告警通知。 +- **[web-app](https://github.com/dromara/hertzbeat/tree/master/web-app)** 提供可视化控制台页面 +> 监控告警系统可视化控制台前端(angular+ts+zorro) + +![hertzBeat](https://tancloud.gd2.qingstor.com/img/docs/hertzbeat-stru.svg) + +## 🐕 快速开始 + +- 如果您不想部署而是直接使用,我们提供SAAS监控云-[TanCloud探云](https://console.tancloud.cn),即刻 **[登陆注册](https://console.tancloud.cn)** 免费使用。 +- 如果您是想将HertzBeat部署到内网环境搭建监控系统,请参考下面的 [部署文档](https://hertzbeat.com/docs/start/quickstart) 进行操作。 + +### 🐵 依赖服务部署 + +> HertzBeat最少依赖于 关系型数据库[MYSQL8+](https://www.mysql.com/) 和 时序性数据库[TDengine2+](https://www.taosdata.com/getting-started) + +##### 安装MYSQL +1. docker安装MYSQl + `docker run -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql` +2. 创建名称为hertzbeat的数据库 +3. 执行位于项目仓库/script/sql/目录下的数据库脚本 [schema.sql](https://gitee.com/dromara/hertzbeat/raw/master/script/sql/schema.sql) + +详细步骤参考 [依赖服务MYSQL安装初始化](https://hertzbeat.com/docs/start/mysql-init) + +##### 安装TDengine +1. docker安装TDengine + `docker run -d -p 6030-6049:6030-6049 -p 6030-6049:6030-6049/udp --name tdengine tdengine/tdengine` +2. 创建名称为hertzbeat的数据库 + +详细步骤参考 [依赖服务TDengine安装初始化](https://hertzbeat.com/docs/start/tdengine-init) + +### 🍞 HertzBeat安装 +> HertzBeat支持通过源码安装启动,Docker容器运行和安装包方式安装部署。 + +##### Docker方式快速安装 +`docker run -d -p 1157:1157 --name hertzbeat tancloud/hertzbeat:latest` + +详细步骤参考 [通过Docker方式安装HertzBeat](https://hertzbeat.com/docs/start/docker-deploy) + +##### 通过安装包安装 +1. 下载您系统环境对应的安装包 [GITEE Release](https://gitee.com/dromara/hertzbeat/releases) [GITHUB Release](https://github.com/dromara/hertzbeat/releases) +2. 配置HertzBeat的配置文件 hertz-beat/config/application.yml +3. 部署启动 `$ ./startup.sh ` + +详细步骤参考 [通过安装包安装HertzBeat](https://hertzbeat.com/docs/start/package-deploy) + +**HAVE FUN** + +## 💬 社区交流 + +HertzBeat赫兹跳动为 [Dromara开源社区](https://dromara.org/) 孵化项目 + +##### 微信交流群 + +加微信号 tan-cloud 或 扫描下面账号二维码拉您进微信群。 +tan-cloud + +##### QQ交流群 + +加QQ群号 718618151 或 扫描下面的群二维码进群, 验证信息: tancloud + +tan-cloud + +##### 交流网站 + +[Dromara社区网站](https://dromara.org/) +[HertzBeat用户网站](https://support.qq.com/products/379369) +