Skip to content

memory collector

memory collects usage statistics.

Configuration

ParameterTypeDefaultDescription
idStringCollector's ID. Must be unique per agent instance. Will be returned along with the metrics.
typeStringMust be memory
serviceStringEqual to idService id for output metrics
intervalIntegerRepetition interval in seconds
labelsArray of StringsList of additional labels. Will be returned along with metrics

Collected Metrics

MetricMetric TypePlatformDescription
tsAllISO 8601 Timestamp
collectorAllCollector Id
labelsAllList of labels
totalAll
freeAll
activeLinux
active(anon)Linux
active(file)Linux
anonhugepagesLinux
anonpagesLinux
bounceLinux
buffersLinux
cachedLinux
commitlimitLinux
committed_asLinux
directmap1gLinux
directmap2mLinux
directmap4kLinux
dirtyLinux
filehugepagesLinux
filepmdmappedLinux
hugepagesizeLinux
hugetlbLinux
inactiveLinux
inactive(anon)Linux
inactive(file)Linux
kreclaimableLinux
kernelstackLinux
mappedLinux
memavailableLinux
memfreeLinux
memtotalLinux
mlockedLinux
nfs_unstableLinux
pagetablesLinux
percpuLinux
sreclaimableLinux
sunreclaimLinux
shmemLinux
shmemhugepagesLinux
shmempmdmappedLinux
slabLinux
swapcachedLinux
swapfreeLinux
swaptotalLinux
unevictableLinux
vmallocchunkLinux
vmalloctotalLinux
vmallocusedLinux
writebackLinux
writebacktmpLinux
activeFreeBSD
inactiveFreeBSD
wiredFreeBSD
cacheFreeBSD
zfs_arcFreeBSD
activeOpenBSD
inactiveOpenBSD
wiredOpenBSD
cacheOpenBSD
pagingOpenBSD
activeMacOS
inactiveMacOS
wiredMacOS
cacheMacOS
loadWindows
total_physWindows
avail_physWindows
total_pagefileWindows
avail_pagefileWindows
total_virtWindows
avail_virtWindows
avail_extWindows

Compilation Features

Enable memory feature during compiling the agent (Enabled by default).