{"repo":"scross01/prometheus-klipper-exporter","free":true,"listed":false,"github":"https://github.com/scross01/prometheus-klipper-exporter","clone":"git clone https://github.com/scross01/prometheus-klipper-exporter.git","description":"Prometheus Exporter for Klipper","language":"Go","stars":76,"topics":["3dprinting","klipper","prometheus-exporter","prometheus"],"license":"MIT","category":"analytics","readme_excerpt":"Prometheus Exporter for Klipper =============================== Prometheus exporter for Klipper to capture operational metrics. This is a very rough first implementation and subject to potentially significant changes. Implementation is based on the Multi-Target Exporter Pattern to enabled a single exporter to collect metrics from multiple Klipper instances. Metrics for the exporter itself are served from the /metrics endpoint and Klipper metrics are serviced from the /probe endpoint with a specified target . Usage ----- To start the Prometheus Klipper Exporter from the command line Then add a Klipper job to the Prometheus configuration file /etc/prometheus/prometheus.yml The exporter can be run on the host running Klipper, or on a separate machine. Replace klipper-host with the hostname or IP address of the Klipper host, and replace klipper-exporter with the hostname or IP address of the host runnging prometheus-klipper-exporter . To monitor multiple Klipper instances add multiple entries to the static config . targets for the klipper job. e.g. If you have have multiple printers manaaged by the same Klipper host then you can use relabeling to differentiate between them. The following example extracts the klipper host name and port as the param target , and the printer name following the @ as the printer label. Build ----- For detailed build, test, and development setup instructions, see the Developers Guide. A Docker Compose test environment with a virtual Klipper printer, Pr","default_branch":null,"files":null,"tree":[],"storefront":"/r/scross01","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/scross01/prometheus-klipper-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."}