gluster-prometheus icon indicating copy to clipboard operation
gluster-prometheus copied to clipboard

[question|feauture] metrics from /var/run/gluster/metrics

Open pznamensky opened this issue 6 years ago • 5 comments

Glusterfs 4.0 brings tons of useful metrics, which can be read from /var/run/gluster/metrics after sending USR2 to gluster processes (https://docs.gluster.org/en/latest/release-notes/4.1.0/#monitoring). Is it planning to add those metrics into exporter? Would be very helpful for us.

pznamensky avatar Sep 05 '18 09:09 pznamensky

@pznamensky Over time yes. Not in the first release though

pranithk avatar Sep 05 '18 09:09 pranithk

Is it planning to add those metrics into exporter?

I wrote something for grafana/graphite https://github.com/amarts/glustermetrics but for prometheus we need little more time to get there.

amarts avatar Sep 17 '18 14:09 amarts

I ended up writing https://github.com/pznamensky/gmetrics-exporter, which is and nearly the same as https://github.com/amarts/glustermetrics but for Prometheus. Thanks, @amarts. And I still hope gluster/gluster-prometheus will do it inside own exporter.

pznamensky avatar Jul 30 '19 08:07 pznamensky

Glad to see some effort on this.

@pznamensky how is it working for you? Can you write a small blog (with may be 1 or 2 screenshare) on it? That would be amazing.

Also note that, monitoring is something many users are looking at, so I believe talking about it in different places, would help getting users to your repo :-) (or we may consider importing your repo into gluster/ org in github some day)

amarts avatar Jul 30 '19 08:07 amarts

After installing the exporter, we got an overview of the load type per client. It is really helpful for us. And that's why I hope Gluster-prometheus project will include similar feature to its exporter. But as for me, the best option is to include exporter directly to FUSE client. I probably write a small blog later.

pznamensky avatar Aug 05 '19 12:08 pznamensky