Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (17 sloc) 1 KB

Monitor

ChubaoFS use prometheus as metrics collector. It simply config as follow in master,metanode,datanode,client's config file:

{
    "exporterPort": 9510,
    "consulAddr": "http://consul.prometheus-cfs.local"
}
  • exporterPort:prometheus exporter Port. when set,can export prometheus metrics from URL(http://$hostip:$exporterPort/metrics). If not set, prometheus exporter will unavailable;
  • consulAddr: consul register address,it can work with prometheus to auto discover deployed chubaofs nodes, if not set, consul register will not work.

Using grafana as prometheus metrics web front:

../pic/cfs-grafana-dashboard.png

Also, user can use prometheus alertmanager to capture and route alerts to the correct receiver. please visit prometheus alertmanger web-doc

Grafana DashBoard Config:

.. literalinclude:: cfs-grafana-dashboard.json
   :language: json
You can’t perform that action at this time.