Updated Canal prometheus (markdown)

lcybo
2018-08-18 11:11:45 +08:00
parent a3520c65f6
commit 256b1624f0

@@ -51,20 +51,6 @@ Canal server 性能指标监控基于prometheus的实现。
详见:[prometheus/client_java](https://github.com/prometheus/client_java)
## Quick start
1. 安装并部署对应平台的prometheus,参见[官方guide](https://prometheus.io/docs/introduction/first_steps/)
2. 配置prometheus.yml,添加canal的job,示例:
```
- job_name: 'canal'
static_configs:
- targets: ['localhost:11112'] //端口配置即为canal.properties中的canal.metrics.pull.port
```
3. 启动prometheus与canal server
## Prometheus expression 与相应 use case
_单表达式示例图为prometheus自带展示层工具,最终dashboard效果图请看grafana章节_
@@ -189,6 +175,19 @@ canal_instance_store
```
**通过labels展示状态信息。**
## Quick start
1. 安装并部署对应平台的prometheus,参见[官方guide](https://prometheus.io/docs/introduction/first_steps/)
2. 配置prometheus.yml,添加canal的job,示例:
```
- job_name: 'canal'
static_configs:
- targets: ['localhost:11112'] //端口配置即为canal.properties中的canal.metrics.pull.port
```
3. 启动prometheus与canal server
## Grafana
施工准备中