Update 如何优雅的使用一个mysqld_exporter监控所有的MySQL实例.md

pull/42/head
StarsL.cn 2 years ago committed by GitHub
parent 2efeb5e890
commit d27587f43a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,4 +50,10 @@ services:
启动:`docker-compose up -d` 启动:`docker-compose up -d`
### 三、如何接入到Prometheus ### 三、如何接入到Prometheus
![图片](https://user-images.githubusercontent.com/3349611/199270662-f4f280ed-f6b8-482b-bb28-5cc4d3799dc1.png) 点击菜单`云资源管理`-`MySQL管理`-`prometheus配置`
在右侧选择需要加入监控的云账号RDS组并且输入mysqld_exporter的IP和端口点击生成配置即可复制生成的JOB内容到prometheus。
![图片](https://user-images.githubusercontent.com/3349611/199271393-6a7083dc-e861-4ce1-b4da-4ef99aa72868.png)
### 四、参考告警规则
![图片](https://user-images.githubusercontent.com/3349611/199274270-6cbb1ca5-4db9-45a7-ba93-1042198be2cb.png)

Loading…
Cancel
Save