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

SebastianCzoch/lxc-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published