gluster / gluster-prometheus

Gluster monitoring using Prometheus
GNU Lesser General Public License v2.1
119 stars 70 forks source link

inadequate example config in README.adoc #201

Open mozai opened 2 years ago

mozai commented 2 years ago

README.adoc says "Systemd service uses following configuration file for global and collectors related configurations" with a config file that only mentions two collectors: gluster_ps and gluster_brick , but reading the source code I found:

Reading the Makefile I found it copies extras/conf/gluster-exporter.toml.sample to /usr/local/etc/gluster-exporter/gluster-exporter.toml , and that .sample file lists the above collectors. Would really help if the README.adoc mentioned that file is the example that should be used, not what's in the README.adoc.

Would also be nice if docs/metrics.adoc groups the metrics by which collector provides them.