SebastianCzoch/lxc-exporter

View on GitHub
collector/collector.go

Summary

Maintainability
A
0 mins
Test Coverage
package collector

import (
    "github.com/prometheus/client_golang/prometheus"
)

// Namespace is a prefix for all metrics
const Namespace = "lxc"

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