Lustre Metrics Exporter
Prometheus exporter for Lustre metrics.
go get github.com/HewlettPackard/lustre_exporter
cd $GOPATH/src/github.com/HewlettPackard/lustre_exporter make
All above flags default to the value "extended" when no argument is submitted by the user.
./lustre_exporter --collector.ost=disabled --collector.mdt=core --collector.mgs=extended
The above example will result in a running instance of the Lustre Exporter with the following statuses:
Flag Option Detailed Description
- disabled - Completely disable all metrics for this portion of a source.
- core - Enable this source, but only for metrics considered to be particularly useful.
- extended - Enable this source and include all metrics that the Lustre Exporter is aware of within it.
All Lustre procfs and procsys data from all nodes running the Lustre Exporter that we perceive as valuable data is exported or can be added to be exported (we don't have any known major gaps that anyone cares about, so if you see something missing, please file an issue!).
See the issues tab for all known issues. This project is actively maintained by HPE, so you should see a reasonably quick response if you identify a gap.
In the event that you encounter issues with specific metrics (especially on versions of Lustre older than 2.7), please try disabling those specific troublesome metrics using the documented collector flags in the 'disabled' or 'core' state. Users have encountered bugs within Lustre where specific sysfs and procfs files miscommunicate their sizes, causing read calls to fail.
To contribute to this HPE project, you'll need to fill out a CLA (Contributor License Agreement). If you would like to contribute anything more than a bug fix (feature, architectural change, etc), please file an issue and we'll get in touch with you to have you fill out the CLA.