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
Click to show internal directories.
Click to hide internal directories.