Xenstats exporter for prometheus.io, written in go.
Building:
docker build --rm --force-rm --no-cache -t lovoo/xenstats_exporter .
Running:
docker run -p 9290:9290 --rm -v /path/to/config/file/:/configs lovoo/xenstats_exporter:latest -config.file /configs/config.yml
go get -u github.com/lovoo/xenstats_exporter
go install github.com/lovoo/xenstats_exporter
create a yml in form of:
xenhost: "xen1.fqdn.de"
credentials:
username: "root"
password: "password"
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request