Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 994 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 994 Bytes

gmetrics-exporter

Prometheus exporter for GlusterFS metrics from /var/run/gluster/metrics/.

Inspired and based on amarts/glustermetrics.

And looking forward to gluster/gluster-prometheus#25 be resolved.

Installation Process

On GlusterFS machines:

  • python
  • pip install prometheus_client

Run the exporter:

# python gmetrics-exporter.py

Configurations

To customize the gmetrics-exporter, create a config file and override the settings

    [settings]
    interval=10
    enabled_metrics=local_i0

And call gmetrics-exporter.py using,

# python gmetrics.py -c /root/gmetrics-exporter.conf

Configuration change will be detected automatically by gmetrics-exporter.py, config file can be edited as required.

The only one option for enabled_metrics available at the moment:

    "local_io"