package cgroups
import "github.com/containerd/containerd/metrics/cgroups"
Index ¶
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 ¶
Trigger will be called when an event happens and provides the cgroup where the event originated from
Source Files ¶
blkio.go cgroups.go cpu.go hugetlb.go memory.go metric.go metrics.go oom.go pids.go
- Version
- v1.2.6
- Published
- Apr 5, 2019
- Platform
- linux/amd64
- Imports
- 20 packages
- Last checked
- 51 minutes ago –
Tools for package owners.