Installs the LXD Exporter for Prometheus via ansible
Variable | Description | Default |
---|---|---|
lxd_exporter_version |
Version of the exporter to use | 0.7.1 |
lxd_exporter_tarball_checksum |
checksum of the tarball | sha1 checksum of 0.7.1 tarball |
lxd_exporter_options |
Command line options | ['-haproxy.scrape-uri=http://admin:admin@localhost:9101/haproxy?stats;csv'] |
Other variables are in defaults/main.yml
`bdellegrazie.ansible-role-prometheus_exporter`
Add to requirements.yml
- name: marianschmotzer.lxd_exporter
src: https://github.com/marianschmotzer/lxd_exporter.git
path: ./dist
- hosts: all
roles:
- { role: marianschmotzer.lxd_exporter }
GPLv3
https://github.com/marianschmotzer/lxd_exporter.git
Based on
https://github.com/bdellegrazie/ansible-role-haproxy_exporter