Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 2.37 KB

README.md

File metadata and controls

44 lines (30 loc) · 2.37 KB

This repository is no longer maintained.

Issue reports and pull requests will not be attended.

LXC exporter

Build Status Code Climate GoDoc License

LXC exporter is small application written in Go which are providing some metrics about LXC containers running on host in Prometheus.io format. It's beta version, already tested on Ubuntu Willy (15.10) and linux kernel in version 4.x.x. This application should be installed only on physical machine, not on LXC container. All data is reading from linux cgroup.

Metrics

Metric name Description Enabled by default
lxc_cpu Seconds the cpus spent in each mode. For all containers yes
lxc_cpu_precentage Precentage of usage processor yes
lxc_cpu_physical_real Seconds the real physical cpu spent in each mode. (minus containers usage) yes
lxc_cpu_physical_real_precentage Precentage of usage processor (minus containers usage) yes
lxc_memory_usage Memory usage in each container in bytes yes

Flags

Name Description Default value
web.listen-address The address to listen on for HTTP requests. :9125

Building and running

make
./lxc-exporter <flags>

Running tests

go test ./...

License

Apache v2

Support

Issues for this project should be reported on GitHub issues

Staff responsible for project: