5 Star 23 Fork 6

youwen21 / binlog-exporter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
readme_cn.md 955 Bytes
一键复制 编辑 原始数据 按行查看 历史
youwen21 提交于 2022-07-15 20:40 . readme

mysql binlog exporter

为 Prometheus 上报 Mysql binlog 指标.

Installation and Usage

运行项目前先根据 config.env.examples 生成config.env文件 编辑配置config.env文件中的配置项

Building and running the exporter

github

git clone git@github.com:youwen21/binlog-exporter.git

gitee

git clone git@gitee.com:youwen21/binlog-exporter.git
cd binlog_exporter
go run main.go

docker

// todo make docker image

metrics

默认metric搜集地址:

http://127.0.0.1:9900/metrics

  • binlog_count
  • binlog_sum
  • binlog_his
  • binlog_size

other mysql binlog project

binlog-spread

一个基于mysql binlog的开发出来的程序员辅助工具

gitee:binlog-spread

https://gitee.com/youwen21/binlog-spread

github:binlog-spread

https://github.com/youwen21/binlog-spread

Go
1
https://gitee.com/youwen21/binlog-exporter.git
git@gitee.com:youwen21/binlog-exporter.git
youwen21
binlog-exporter
binlog-exporter
master

搜索帮助