README.md 1.0 KB

#端口号 Monitor: port:

  • prometheus: 9990
  • alertmanager: 9993
  • dingtalk: 9994
  • prometheusAlert: 9995
  • grafana: 3000

Exporter: port:

  • node_exporter: 9100
  • blackbox_exporter: 9115
  • postgres_exporter: 9187
  • jmx_exporter: 自定义

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 14192_rev4.json
    id: 13500 13500_rev1.json
使用方法:
    1:启动grafana后,登录localhost:3000,默认账号密码都为admin,登录后可设置密码
    2:导入dashboard:在Dashboard的import下点击Upload Json file,选择grafana/dashboards下的json文件,所有配置选择默认即可(若Name重名,修改为任意名字)
    3. 导入成功后即可看到ck数据指标。