Package: wnpp Severity: wishlist X-Debbugs-Cc: pkg-go-maintain...@lists.alioth.debian.org
* Package name : prometheus-script-exporter Version : 2.17.0 Upstream Contact: https://github.com/ricoberger * URL : https://github.com/ricoberger/script_exporter * License : MIT Programming Lang: Golang Description : Prometheus exporter to execute scripts and collect metrics from the output or the exit status The script_exporter is a Prometheus exporter to execute scripts and collect metrics from the output or the exit status. The scripts to be executed are defined via a configuration file. In the configuration file several scripts can be specified. The script which should be executed is indicated by a parameter in the scrap configuration. The output of the script is captured and is provided for Prometheus. Even if the script does not produce any output, the exit status and the duration of the execution are provided. ---- I often use the node exporter textfile collector to do this kind of thing: exporter | sponge /var/lib/prometheus/node_exporter/exporter.prom ... but i often have issues where i don't quite know *when* to run the script. It would be nice to run the script when prometheus scrapes... I don't have time to package this right now.