cgroups

package
v0.0.0-...-1161409 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ic *plugin.InitContext) (interface{}, error)

New returns a new cgroups monitor

Types

type Config

type Config struct {
	NoPrometheus bool `toml:"no_prometheus"`
}

Config for the cgroups monitor

type Trigger

type Trigger func(string, string, cgroups.Cgroup)

Trigger will be called when an event happens and provides the cgroup where the event originated from

Jump to

Keyboard shortcuts

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