Rename cgroup_cpu_kernel_seconds to cgroup_cpu_system_seconds

This commit is contained in:
Trey Dockendorf 2020-02-20 14:31:49 -05:00
parent a4411e8ec8
commit 64869138e2
1 changed files with 2 additions and 2 deletions

View File

@ -216,8 +216,8 @@ func NewExporter(paths []string) *Exporter {
paths: paths, paths: paths,
cpuUser: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "user_seconds"), cpuUser: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "user_seconds"),
"Cumalitive CPU user seconds for cgroup", []string{"cgroup"}, nil), "Cumalitive CPU user seconds for cgroup", []string{"cgroup"}, nil),
cpuSystem: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "kernel_seconds"), cpuSystem: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "system_seconds"),
"Cumalitive CPU kernel seconds for cgroup", []string{"cgroup"}, nil), "Cumalitive CPU system seconds for cgroup", []string{"cgroup"}, nil),
cpuTotal: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "total_seconds"), cpuTotal: prometheus.NewDesc(prometheus.BuildFQName(namespace, "cpu", "total_seconds"),
"Cumalitive CPU total seconds for cgroup", []string{"cgroup"}, nil), "Cumalitive CPU total seconds for cgroup", []string{"cgroup"}, nil),
cpus: prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "cpus"), cpus: prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "cpus"),