Versions in this module Expand all Collapse all v1 v1.4.4 Mar 5, 2021 Changes in this version + var IDName = "container_id" — linux/amd64 + func NewTaskMonitor(ctx context.Context, publisher events.Publisher, ns *metrics.Namespace) (runtime.TaskMonitor, error) — linux/amd64 + type Collector struct — linux/amd64 + func NewCollector(ns *metrics.Namespace) *Collector + func (c *Collector) Add(t Statable) error + func (c *Collector) Collect(ch chan<- prometheus.Metric) + func (c *Collector) Describe(ch chan<- *prometheus.Desc) + func (c *Collector) Remove(t Statable) + func (c *Collector) RemoveAll() + type Statable interface — linux/amd64 + ID func() string + Namespace func() string + Stats func(context.Context) (*types.Any, error) + type Trigger func(string, string, cgroups.Cgroup) — linux/amd64