Files
ignition/local_exporter.config
Dustin C. Hatch ebdf587de1 local_exporter: Exporter for Zincati metrics
Zincati provides Prometheus metrics via a Unix socket.  In order for
these to be scraped by `vmagent`, they need to be exposed over HTTP.
The `local_exporter` is designed to do specifically this.

Unfortunately, the Zincati metrics socket is only accessible by the
*zincati* user, so the `local_exporter` also needs to run as that user.
Hopefully, the user ID will remain consistent in future versions of
CoreOS.
2023-10-03 15:29:58 -05:00

10 lines
162 B
TOML

# vim: set ft=toml :
[service]
address = "0.0.0.0"
port = 9598
tls = false
[bridge.selectors.zincati]
kind = "uds"
path = "/run/zincati/public/metrics.promsock"