Fix some golint issues (#927)
* collector/cpu_*: rename nodeCpuSecondsDesc to nodeCPUSecondsDesc Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com> * collector/qdisc_linux.go: add NewQdiscStatCollector comment Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com> * collector/cpu_linux.go: rename core_map to coreMap Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
parent
7073dcdcb5
commit
c9f421d0dd
7 changed files with 9 additions and 8 deletions
|
|
@ -24,7 +24,7 @@ const (
|
|||
)
|
||||
|
||||
var (
|
||||
nodeCpuSecondsDesc = prometheus.NewDesc(
|
||||
nodeCPUSecondsDesc = prometheus.NewDesc(
|
||||
prometheus.BuildFQName(namespace, cpuCollectorSubsystem, "seconds_total"),
|
||||
"Seconds the cpus spent in each mode.",
|
||||
[]string{"cpu", "mode"}, nil,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue