全链路数据监控 Binlog View

目录

什么是Binlog View?

‌ ‌ ‌ ‌ ‌ ‌ ‌ Binlog View是一款基于JAVA开发的全链路数据监控软件,可以记录MYSQL数据库数据从新增-编辑-删除的完整链路数据,让数据问题排查变得轻松。

安装部署教程

全链路数据监控 Binlog View

一、Binlog View安装

1、canal-server安装及设置

powershell 复制代码
docker run -d --name canal-server canal/canal-server:v1.1.8

mkdir -p /opt/canal-server

docker cp canal-server:/home/admin/canal-server/conf/example/instance.properties /opt/canal-server

vi /opt/canal-server/instance.properties

注意修改以下数据

powershell 复制代码
canal.instance.master.address=172.16.16.132:3306
canal.instance.dbUsername=root
canal.instance.dbPassword=root

重启容器

powershell 复制代码
docker stop canal-server
docker rm canal-server

docker run --name canal-server -p 11111:11111 -d \
-v /opt/canal-server/instance.properties:/home/admin/canal-server/conf/example/instance.properties \
-v /opt/canal-server/logs/:/home/admin/canal-server/logs/ \
canal/canal-server:v1.1.8

检查运行状态

powershell 复制代码
[root@localhost canal-server]# docker logs -f canal-server
DOCKER_DEPLOY_TYPE=VM
==> INIT /alidata/init/02init-sshd.sh
==> EXIT CODE: 0
==> INIT /alidata/init/fix-hosts.py
==> EXIT CODE: 0
==> INIT DEFAULT
==> INIT DONE
==> RUN /home/admin/app.sh
==> START ...
start canal ...
start canal successful
==> START SUCCESSFUL ...

2、Binlog View安装及设置

运行

powershell 复制代码
docker run -d \
-p 8080:8080 \
--name binlog-view \
--restart=always \
-e console=true \
-v /opt/binlog-view/logs/:/opt/logs/binlog-view/ \
-v /opt/binlog-view/db:/db/ \
yunkunma/binlog-view:latest

console: 是否开启h2远程面板

db: h2和lucene 数据文件

二、节点配置

仅需配置canal-server节点

三、Binlog View界面


H2数据库查看

URL: http//127.0.0.1:8080/h2

JDBC URL: jdbc:h2:./db/h2/binlog

相关推荐
Turnip12022 天前
深度解析:为什么简单的数据库"写操作"会在 MySQL 中卡住?
后端·mysql
加号33 天前
windows系统下mysql多源数据库同步部署
数据库·windows·mysql
シ風箏3 天前
MySQL【部署 04】Docker部署 MySQL8.0.32 版本(网盘镜像及启动命令分享)
数据库·mysql·docker
WeiXin_DZbishe3 天前
基于django在线音乐数据采集的设计与实现-计算机毕设 附源码 22647
javascript·spring boot·mysql·django·node.js·php·html5
爱可生开源社区3 天前
MySQL 性能优化:真正重要的变量
数据库·mysql
小马爱打代码3 天前
MySQL性能优化核心:InnoDB Buffer Pool 详解
数据库·mysql·性能优化
风流 少年3 天前
mysql mcp
数据库·mysql·adb
西门吹雪分身3 天前
mysql之数据离线迁移
数据库·mysql
轩情吖4 天前
MySQL初识
android·数据库·sql·mysql·adb·存储引擎
轩情吖4 天前
MySQL库的操作
android·数据库·mysql·oracle·字符集·数据库操作·编码集