mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
memory_bsd: Fix a problem fetching the user wire count on FreeBSD
Signed-off-by: David O'Rourke <david.orourke@gmail.com>
This commit is contained in:
parent
6a0598e563
commit
9232df7237
|
@ -87,6 +87,7 @@ func NewMemoryCollector(logger log.Logger) (Collector, error) {
|
|||
description: "Locked in memory by user, mlock, etc",
|
||||
mib: "vm.stats.vm.v_user_wire_count",
|
||||
conversion: fromPage,
|
||||
dataType: bsdSysctlTypeCLong,
|
||||
},
|
||||
{
|
||||
name: "cache_bytes",
|
||||
|
|
Loading…
Reference in a new issue