Rename cgroup_cpu_kernel_seconds to cgroup_cpu_system_seconds
This commit is contained in:
parent
a4411e8ec8
commit
64869138e2
|
@ -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"),
|
||||||
|
|
Loading…
Reference in New Issue