Julien Pivotto
68a6c78c0d
Update go to 1.17 ( #2159 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
3 years ago
Julius Volz
d05aac43e4
Fix capitalization of CPU acronym throughout
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Mario Trangoni
c9f421d0dd
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>
7 years ago
Ben Kochie
14d60958d6
Unify CPU collector conventions ( #806 )
...
* Unify CPU collector conventions
Add a common CPU metric description.
* All collectors use the same `nodeCpuSecondsDesc`.
* All collectors drop the `cpu` prefix for `cpu` label values.
* Fix subsystem string in cpu_freebsd.
* Fix Linux CPU freq label names.
7 years ago
stuart nelson
450fe0f3ba
Add test
8 years ago
Matthias Rampke
788ac9a859
Rearrange fixtures to match "real" proc and sys.
...
And add some missing fixtures for default collectors, even if they're
not read by tests yet.
9 years ago
Matthias Rampke
2d0d72b97d
Add license headers to all code files.
9 years ago
Siavash Safi
66e0171159
Rename linux collectors for build constraints.
9 years ago
Tobias Schmidt
974f6fc762
Fix tests
10 years ago