ci: push images to GHCR and bump promci to v0.8.2
Add packages: write permission and ghcr_io_password to the publish_master and publish_release jobs so images are also pushed to GHCR. Bump the promci composite actions to v0.8.2, which performs its own checkout, so the redundant actions/checkout steps preceding the build/publish promci steps are removed. Harden the remaining actions/checkout in test_go with persist-credentials: false.
Signed-off-by: Julien Pivotto 291750+roidelapluie@users.noreply.github.com
Collectd Exporter
An exporter for collectd. It accepts collectd’s binary network protocol as sent by collectd’s network plugin and metrics in JSON format via HTTP POST as sent by collectd’s write_http plugin, and transforms and exposes them for consumption by Prometheus.
This exporter is useful for exporting metrics from existing collectd setups, as well as for metrics which are not covered by the core Prometheus exporters such as the Node Exporter.
Binary network protocol
collectd’s network plugin uses a lightweight binary protocol to send metrics from one instance to another. To consume these packets with collectd_exporter, first configure collectd to send these metrics to the appropriate address:
Then start collectd_exporter with
--collectd.listen-address=":25826"to start consuming and exporting these metrics.JSON format
collectd’s write_http plugin is able to send metrics via HTTP POST requests. collectd_exporter serves an appropriate end-point which accepts, parses and exports the metrics. First, configure collectd to send these metrics to the HTTP end-point:
To change the path of the end-point, use the
--web.collectd-push-pathcommand line option. To disable this functionality altogether, use--web.collectd-push-path="".Using Docker
You can deploy this exporter using the prom/collectd-exporter Docker image. You will need to map the collectd port from the container to the host, remembering that this is a UDP port.
For example:
TLS and basic authentication
The collectd_exporter supports TLS and basic authentication. To use TLS and/or basic authentication, you need to pass a configuration file using the
--web.config.fileparameter. The format of the file is described in the exporter-toolkit repository.