lxc-exporter

command module
v0.0.0-...-88dbe63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

README

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:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/Sirupsen/logrus
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
Package logrus is a structured logger for Go, completely API compatible with the standard library logger.
_workspace/src/github.com/beorn7/perks/quantile
Package quantile computes approximate quantiles over an unbounded data stream within low memory and CPU bounds.
Package quantile computes approximate quantiles over an unbounded data stream within low memory and CPU bounds.
_workspace/src/github.com/golang/protobuf/proto
Package proto converts data structures to and from the wire format of protocol buffers.
Package proto converts data structures to and from the wire format of protocol buffers.
_workspace/src/github.com/golang/protobuf/proto/proto3_proto
Package proto3_proto is a generated protocol buffer package.
Package proto3_proto is a generated protocol buffer package.
_workspace/src/github.com/matttproud/golang_protobuf_extensions/pbutil
Package pbutil provides record length-delimited Protocol Buffer streaming.
Package pbutil provides record length-delimited Protocol Buffer streaming.
_workspace/src/github.com/prometheus/client_golang/prometheus
Package prometheus provides embeddable metric primitives for servers and standardized exposition of telemetry through a web services interface.
Package prometheus provides embeddable metric primitives for servers and standardized exposition of telemetry through a web services interface.
_workspace/src/github.com/prometheus/client_model/go
Package io_prometheus_client is a generated protocol buffer package.
Package io_prometheus_client is a generated protocol buffer package.
_workspace/src/github.com/prometheus/common/expfmt
A package for reading and writing Prometheus metrics.
A package for reading and writing Prometheus metrics.
HTTP Content-Type Autonegotiation.
_workspace/src/github.com/prometheus/common/model
Package model contains common data structures that are shared across Prometheus componenets and libraries.
Package model contains common data structures that are shared across Prometheus componenets and libraries.
_workspace/src/github.com/prometheus/procfs
Package procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
Package procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
_workspace/src/github.com/stretchr/testify/assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL