Skip to main content

Monitoring:MongoDB

Collect and monitor the general performance Metrics of MongoDB database.

Configuration parameter

Parameter nameParameter help description
Target HostMonitored IPV4, IPV6 or domain name. Note⚠️Without protocol header (eg: https://, http://).
Monitoring nameIdentify the name of this monitoring. The name needs to be unique.
PortPort provided by the database. The default is 27017.
UsernameUsername for MongoDB,Optional.
PasswordPassword for MongoDB,Optional.
databaseDatabase name.
authenticationDatabaseCredentials Storage Database.
Connect Timeout(ms)Set connection timeout for MongoDB, unit: ms, default: 6000ms.
Collection intervalInterval time of monitor periodic data collection, unit: second, and the minimum interval that can be set is 30 seconds
Bind TagsUsed to classify and manage monitoring resources.
Description remarksFor more information about identifying and describing this monitoring, users can note information here.

Collection Metric

Metric set:Build Info

Metric nameMetric unitMetric help description
versionnoneThe version number of the MongoDB server.
gitVersionnoneThe Git version of the MongoDB codebase.
sysInfononeSystem information, typically includes details about the operating system and platform.
loaderFlagsnoneLoader flags used to link MongoDB binaries
compilerFlagsnoneCompiler flags used when compiling MongoDB.
allocatornoneThe memory allocator used by MongoDB.
javascriptEnginenoneThe JavaScript engine used by MongoDB.

Metric set:Server Document

Metric nameMetric unitMetric help description
deletednoneThe number of documents deleted.
insertednoneThe number of documents inserted.
returnednoneThe number of documents returned.
updatednoneThe number of documents updated.

Metric set:Server Operation

Metric nameMetric unitMetric help description
scanAndOrdernoneThe number of times a query required both scanning and ordering.
writeConflictsnoneThe number of write conflicts that occurred.

Metric set: Max Connections

Metric nameMetric unitMetric help description
deletedDocumentsnoneNumber of deleted documents.
passesnoneTotal number of passes for TTL operations.

Metric set:System Info

Metric nameMetric unitMetric help description
currentTimenoneCurrent system time.
hostnamenoneHostname of the server.
cpuAddrSizeMBSize of CPU address in bits.
memSizeMBMBTotal size of system memory in megabytes.
memLimitMBMBMemory limit for the MongoDB process in megabytes.
numCoresnoneTotal number of CPU cores.
cpuArchnoneCPU architecture.
numaEnablednoneWhether NUMA (Non-Uniform Memory Access) is enabled.

Metric set:OS Info

Metric nameMetric unitMetric help description
typenoneType of the operating system.
namenoneName of the operating system.
versionnoneVersion of the operating system.

Metric set:Extra Info

Metric nameMetric unitMetric help description
versionStringnoneString describing the version of the operating system.
libcVersionnoneVersion of the C standard library (libc).
kernelVersionnoneVersion of the operating system kernel.
cpuFrequencyMHznoneFrequency of the CPU in megahertz.
cpuFeaturesnoneFeatures supported by the CPU.
pageSizenoneSize of a memory page in bytes.
numPagesnoneTotal number of memory pages.
maxOpenFilesnoneMaximum number of open files allowed.