{"repo":"lest/prometheus-rpm","free":true,"listed":false,"github":"https://github.com/lest/prometheus-rpm","clone":"git clone https://github.com/lest/prometheus-rpm.git","description":"Prometheus RPM Packages","language":"Python","stars":252,"topics":["prometheus","rpm","centos","centos7"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Prometheus RPM Packages The repository contains the files needed to build [Prometheus][1] RPM packages for CentOS 7 & 8 and CentOS Stream 9. Installing The packages are available in [the packagecloud repository][2] and can be used by adding the following /etc/yum.repos.d/prometheus.repo : CentOS Adding a new exporter Auto generation 1. Add a new section under packages in templating.yaml with the required information (overriding any defaults if required). 2. Create a new directory with the name of the exporter and populate it with a file named .default which will contain the default environment variables passed to the init and unit files. 3. Once this is done add this exporter to the list of AUTO GENERATED exporters in Makefile . 4. Test that you can build this RPM using the command make . Custom 1. Add the exporter to the list of MANUAL in the file Makefile . 2. Make a new directory with the same name as the exporter. 3. Populate this directory with all the required files to build the RPM. 4. Test that you can build this RPM using the command make . Build RPMs manually Build all packages with: or build a single package only, e.g.: The resulting RPMs will be created in the dist7 or dist8 directories depending on the version of CentOS that they were built for. Ansible role An [Ansible][3] role which installs Prometheus packages from these RPMs is available in [Github][4] or in [Galaxy][5]. [1]: https://prometheus.io [2]: https://packagecloud.io/prometheus-rpm/release [3]: https","default_branch":null,"files":null,"tree":[],"storefront":"/r/lest","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lest/prometheus-rpm/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."}