Files
ignition/local_exporter.yaml
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

22 lines
396 B
YAML

variant: fcos
version: 1.4.0
storage:
directories:
- path: /etc/local_exporter
files:
- path: /etc/containers/systemd/local_exporter.container
mode: 0644
contents:
local: local_exporter.container
- path: /etc/local_exporter/config.toml
mode: 0644
contents:
local: local_exporter.config
systemd:
units:
- name: local_exporter.service
enabled: true