{"repo":"sapcc/swift-health-exporter","free":true,"listed":false,"github":"https://github.com/sapcc/swift-health-exporter","clone":"git clone https://github.com/sapcc/swift-health-exporter.git","description":"Prometheus exporter for OpenStack Swift cluster health","language":"Go","stars":11,"topics":["openstack","openstack-swift","prometheus-exporter"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Swift health exporter This exporter uses the swift-dispersion-report and swift-recon tools to emit Prometheus metrics about the health of an OpenStack Swift cluster. The exporter has been tested with OpenStack Swift Train (v2.23.0) and above. For older versions of Swift, you might want to look at swift-health-statsd. Installation The only required build dependency is Go: This will install the binary in /usr/bin/ . Usage swift-health-exporter will find the executables for swift-recon and swift-dispersion-report in the directories named by the $PATH environment variable. To start collecting metrics, you simply need to: Metrics are exposed at port 9520 by default. This port has been allocated for swift-health-exporter . You can change the listening address and the port using the --web.listen-address flag. If the swift-recon and swift-dispersion-report are not in the directories named by the $PATH then you must provide the respective paths to these executables using the configuration options. Configuration options When a particular collector fails once, swift-health-exporter will continue to report the metric values for it from the previous collection. A collection is considered to have failed and an error is only reported after the max failure attempts have been exceeded. You can change the value for the max failures using the --collector.max-failures flag. Additionally, the following environment variables are recognized: Variable Required Description ---------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/sapcc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sapcc/swift-health-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}