collector

package
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: 5 Imported by: 1

Documentation

Index

Constants

View Source
const Namespace = "lxc"

Namespace is a prefix for all metrics

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	Update(ch chan<- prometheus.Metric) error
	Init() error
}

Collector is interface for collectors

func NewCPUStatCollector

func NewCPUStatCollector() Collector

NewCPUStatCollector is a function which return new lxc cpu collector

func NewMemStatCollector

func NewMemStatCollector() Collector

NewMemStatCollector is a method which return new lxc memory collector

Jump to

Keyboard shortcuts

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