Skip to content

Commit

Permalink
Rename cgroup_cpu_kernel_seconds to cgroup_cpu_system_seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Feb 20, 2020
1 parent a4411e8 commit 6486913
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cgroup_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 6486913

Please sign in to comment.