-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
Description
In 2018, OpenBSD introduced a new (system) CPU state, CP_SPIN, that counts time the system is stuck spinning on a lock: https://marc.info/?l=openbsd-cvs&m=152630109526317&w=2
The node exporter currently doesn't know about this state, which means that on relevant OpenBSD versions its node_cpu_seconds_total figures are incomplete and break various assumptions that people using them may have (for example, that the total of everything for a single CPU sums to more or less 1). If you want to limit to building on only the currently supported OpenBSD versions, this is straightforward, since both of them should have CP_SPIN and collector/cpu_openbsd.go can just use it.
(I would be happy to prepare a pull request with this small change.)
Reactions are currently unavailable