ofesseler / gluster_exporter

Gluster Exporter for Prometheus
Apache License 2.0
81 stars 57 forks source link

heal statistics heal-count #50

Open orencio opened 3 years ago

orencio commented 3 years ago

Hi, to get get heal status of volumes is necessary to specify heal_info_files_countin promethues metrics, that internally execute gluster v heal VOLNAME info.

This runs ok when there is few files to be healed, but when there are too many files to be healed, the command spend too time to get values.

Is it possible to change internally command to gluster volume heal VOLNAME statistics heal-count?

Or, add new metric (for example heal_info_files_statistics) to get this value?

Regards.