Logical Volume Manager (LVM) Exporter
This repository provides code for a Prometheus metrics exporter
for LVM. This exporter can be run as a seperate daemonset or as a sidecar container.
This exporter makes use of
prometheus-go-client, the official Go
client library for prometheus.
metrics/labels
are being exported:
lvm_lv_total_size{device="",lv_active="",lv_dm_path="",lv_full_name="",lv_name="",lv_path="",lv_uuid="",vg_name=""} TOTAL_SIZE
lvm_vg_free_size{vg_name=""} FREE_SIZE
lvm_vg_total_size{vg_name=""} TOTAL_SIZE
DOCKER_REPO
in deploy.env with you own dockerhub repo name.make all
in the top directory. It will:textfile-collector
with node-exporterThe textfile collector is similar to the Pushgateway, in that it allows exporting of statistics from batch jobs.
It can also be used to export static metrics, such as what role a machine has.
The Pushgateway should be used for service-level metrics. The textfile module is for metrics that are tied to a machine.
To use it, set the —collector.textfile.directory flag on the node_exporter commandline. The collector will
parse all files in that directory matching the glob *.prom using the text format.
To deploy lvm-textfile-collector with node-exporter: