| Commit message (Collapse) | Author | Age |
|
|
| |
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
|
|
|
| |
Signed-off-by: yeya24 <yb532204897@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change Dfly's CPU counting frequency, see: https://github.com/prometheus/node_exporter/issues/1129
Signed-off-by: iori-yja <fivio.11235813@gmail.com>
* Convert Dfly's CPU unit into second
Signed-off-by: iori-yja <fivio.11235813@gmail.com>
* Check BSD's mib which accounts for swap size; see #1127
Signed-off-by: iori-yja <fivo.11235813@gmail.com>
* fix swap check code
Signed-off-by: iori-yja <fivo.11235813@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move NodeCollector into package collector
* Refactor collector enabling
* Update README with new collector enabled flags
* Fix out-of-date inline flag reference syntax
* Use new flags in end-to-end tests
* Add flag to disable all default collectors
* Track if a flag has been set explicitly
* Add --collectors.disable-defaults to README
* Revert disable-defaults flag
* Shorten flags
* Fixup timex collector registration
* Fix end-to-end tests
* Change procfs and sysfs path flags
* Fix review comments
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Export cpu mode times as original uint64_t data,
and update frequency, and do the conversion to
float64 and subsequent division in go.
|
| |
|
|
|
|
|
| |
This is the code that was lifted from the freebsd
implementation, but was not correct.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The correct frequency is the systimer frequency,
not the stathz.
From one of the DragonFly developers:
The bump upon each statclock is:
((cur_systimer - prev_systimer) * systimer_freq) >> 32
systimer_freq can be extracted from following
sysctl in userspace:
sysctl kern.cputimer.freq
|
| |
|
|
|
|
|
| |
Duplication was caused by malloc returning a
region of memory that already had data in it.
|
| |
|
|
|
|
|
|
|
| |
Moved to exporting via a string, which is then
split and parsed.
The string is sometimes duplicated, however.
|
|
|
|
| |
Don't need it since we aren't malloc'ing
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Might not be lined up correctly? Weird output data
in the second CPU.
|
| |
|
|
|