diff --git a/cgroup_exporter.go b/cgroup_exporter.go index ff9bdf2..732acb0 100644 --- a/cgroup_exporter.go +++ b/cgroup_exporter.go @@ -216,8 +216,8 @@ func NewExporter(paths []string) *Exporter { paths: paths, cpuUser: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "user_seconds"), "Cumalitive CPU user seconds for cgroup", []string{"cgroup"}, nil), - cpuSystem: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "kernel_seconds"), - "Cumalitive CPU kernel seconds for cgroup", []string{"cgroup"}, nil), + cpuSystem: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "system_seconds"), + "Cumalitive CPU system seconds for cgroup", []string{"cgroup"}, nil), cpuTotal: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "total_seconds"), "Cumalitive CPU total seconds for cgroup", []string{"cgroup"}, nil), cpus: prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "cpus"),