Documentation
¶
Index ¶
Constants ¶
View Source
const (
Namespace = "cgroup"
)
Variables ¶
View Source
var ( CgroupRoot = kingpin.Flag("path.cgroup.root", "Root path to cgroup fs").Default(defCgroupRoot).String() ProcRoot = kingpin.Flag("path.proc.root", "Root path to proc fs").Default(defProcRoot).String() )
Functions ¶
This section is empty.
Types ¶
type CgroupMetric ¶
type CgroupMetric struct {
// contains filtered or unexported fields
}
type Collector ¶
type Collector interface { // Get new metrics and expose them via prometheus registry. Describe(ch chan<- *prometheus.Desc) Collect(ch chan<- prometheus.Metric) }
func NewCgroupCollector ¶
Click to show internal directories.
Click to hide internal directories.