cgroups

package
v0.9.1-0...-cefb01c Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package cgroups holds cgroups related files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	// contains filtered or unexported fields
}

Monitor defines a cgroup monitor

func NewCgroupsMonitor

func NewCgroupsMonitor(statsdClient statsd.ClientInterface, cgrouspResolver *cgroup.Resolver) *Monitor

NewCgroupsMonitor returns a new cgroups monitor

func (*Monitor) SendStats

func (cm *Monitor) SendStats() error

SendStats send stats

Jump to

Keyboard shortcuts

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