Closed tjhop closed 2 months ago
Looking at the failing tests
@SuperQ would you mind taking a look when you get time? Lemme know your thoughts :+1:
Ah, good point, I appreciate the forethought. I'll rework it to not coerce nils and leave them out :+1:
@SuperQ is this more in line with what you were thinking?
Yes, this is looking much better. I'll try and do a deeper review soon.
Friendly bump. @SuperQ please lemme know if you have any further thoughts 👍
Part of #2957
Prometheus' procfs lib supports collecting memory info and we're using a new enough version of the lib that has it available, so this converts the meminfo collector for Linux to use data from procfs lib instead. The bits I've touched for darwin/openbsd/netbsd are with intent to preserve the original struct implementation/backwards compatibility.
Signed-off-by: TJ Hoplock t.hoplock@gmail.com