wjinan 25a6be4dbc opt: ck:增加grafana dashboard | 9 months ago | |
---|---|---|
code | 9 months ago | |
config | 10 months ago | |
.gitignore | 10 months ago | |
README.md | 9 months ago | |
packageExporters.sh | 10 months ago | |
packageMonitor.sh | 10 months ago | |
testAlert.sh | 10 months ago |
#端口号 Monitor: port:
Exporter: port:
Clickhouse: /etc/clickhouse-server/config.xml 打开以下设置
<prometheus>
<endpoint>/metrics</endpoint>
<port>9363</port>
<metrics>true</metrics>
<events>true</events>
<asynchronous_metrics>true</asynchronous_metrics>
<status_info>true</status_info>
</prometheus>
Grafana:
Dashboards:
id: 14192
使用方法:
1:启动grafana后,登录localhost:3000,默认账号密码都为admin,登录后可设置密码
2:导入dashboard:在Dashboard的import下点击Upload Json file,选择grafana/dashboards/14192_rev4.json,所有配置选择默认即可(若Name重名,修改为任意名字)
3. 导入成功后即可看到ck数据指标。