{"repo":"margau/pkg-exporter","free":true,"listed":false,"github":"https://github.com/margau/pkg-exporter","clone":"git clone https://github.com/margau/pkg-exporter.git","description":"Mirror only, head over to codeberg for PRs and Issues.","language":"Python","stars":42,"topics":["prometheus","prometheus-exporter","exporter","hacktoberfest"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"Prometheus PKG Exporter This project provides an textfile-based exporter for apt-repositories. The Project is in its early development phases. Interfaces may change without notice. Compatibility and Stability do vary. For the changelog, use the Releases-Section on GitHub Exported Metrics At the moment, the packages installed, upgradable, broken and autoremovable are exported per repository as gauge. The label set depends on the packet manager type. Additionally, pkg reboot required is exported to indicate that an reboot is needed. Contributing Feel free to contribute improvements, as well as support for non-apt based systems. Installation Global pip installation Run pip3 install pkg-exporter . Install from source Clone the repository and run poetry install from the main directory. You can also use other standard installation methods for python packages, like directly installing from this git repository. The pyinstaller-based binary is not provided any more. pipx If a global pip installation is not possible (e.g. from debian 12 onwards), you can use pipx, either for install, and/or for running pkg-exporter ad hoc: --system-site-packages is necessary to provide access to the system python3-apt lib. apt-based systems Currently, only apt-based systems are supported. python3-apt needs to be installed on the system. Configuration and Usage The node exporter needs to be configured for textfiles using the --collector.textfile.directory option. This exporter needs to write the exporte","default_branch":null,"files":null,"tree":[],"storefront":"/r/margau","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/margau/pkg-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."}