{"repo":"phyber/jail_exporter","free":true,"listed":false,"github":"https://github.com/phyber/jail_exporter","clone":"git clone https://github.com/phyber/jail_exporter.git","description":"A Prometheus exporter for FreeBSD jail metrics","language":"Rust","stars":35,"topics":["rust","prometheus","freebsd","jail","metrics","exporter"],"license":"MIT","category":"analytics","readme_excerpt":"Jail Exporter [![Build Status]](https://github.com/phyber/jail exporter/actions/workflows/ci.yaml) Description Jail Exporter is a [Prometheus] exporter for [FreeBSD] jail metrics as reported by [ rctl(8) ]. The exporter is written in [Rust] and uses the [jail] and [rctl] crates to discover jails and obtain metrics. Installation pkg(8) and Ports jail exporter is available in the FreeBSD ports tree as sysutils/jail exporter . It can be installed by either the binary package with pkg install jail exporter , or by compiling the package yourself in the ports tree. Cargo Install The crate is also available via [crates.io], and can be installed using the cargo install command. However, it is heavily recommended to install the exporter via pkg(8) or the ports tree. When installing via this method, you may want to move the installed binary to /usr/local/sbin and obtain an appropriate [ rc(8) ] to start the exporter on system boot. You can do this as follows: Enabling at System Boot You can enable jail exporter to start at system boot via [ rc.conf(5) ]. Building At a minimum, building Jail Exporter should require: - Rust v1.85.1 (MSRV) - Cargo A BSD [ make(1) ] Makefile is provided for convenience, if you already have Rust and Cargo available, executing make will build a debug release of Jail Exporter at target/debug/jail exporter . make release will build a release version at target/release/jail exporter . If you don't wish to use make(1) , the usual cargo build command should work j","default_branch":null,"files":null,"tree":[],"storefront":"/r/phyber","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phyber/jail_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."}