diff --git a/collector/memory_bsd.go b/collector/memory_bsd.go index 5b312691e9..3039e6df89 100644 --- a/collector/memory_bsd.go +++ b/collector/memory_bsd.go @@ -82,6 +82,12 @@ func NewMemoryCollector(logger log.Logger) (Collector, error) { mib: "vm.stats.vm.v_wire_count", conversion: fromPage, }, + { + name: "user_wired_bytes", + description: "Locked in memory by user, mlock, etc", + mib: "vm.stats.vm.v_user_wire_count", + conversion: fromPage, + }, { name: "cache_bytes", description: "Almost free, backed by swap or files, available for re-allocation", @@ -100,6 +106,12 @@ func NewMemoryCollector(logger log.Logger) (Collector, error) { mib: "vm.stats.vm.v_free_count", conversion: fromPage, }, + { + name: "laundry_bytes", + description: "Dirty not recently used by userland", + mib: "vm.stats.vm.v_laundry_count", + conversion: fromPage, + }, { name: "size_bytes", description: "Total physical memory size",