- API >
- Public API Resources >
- Measurements and Alerts >
- Measurements >
- Measurement Types
Measurement Types¶
On this page
The measurements
endpoint returns the available measurement types
for use with the Ops Manager Measurements API resource.
Host Measurements¶
|
Rate of asserts for a MongoDB process found in the
asserts document that the
serverStatus
command generates. |
|
Amount of data flushed in the background. |
|
Amount of bytes in the WiredTiger
storage engine cache and tickets found in the
wiredTiger.cache and
wiredTiger.concurrentTransactions documents
that the
serverStatus
command generates. |
|
Number of connections to a MongoDB process found in the
connections document that the
serverStatus
command generates. |
|
Number of cursors for a MongoDB
process found in the metrics.cursor document
that the
serverStatus
command generates. |
|
Numbers of Memory Issues and Page Faults for a MongoDB
process. |
|
Number of operations waiting on locks for the MongoDB process that the serverStatus command generates. Ops Manager computes these values based on the type of storage engine. |
|
Number of index btree operations. |
|
Number of journaling operations. |
|
Amount of memory for a MongoDB process found in the
mem document that the
serverStatus command collects. |
|
Amount of throughput for MongoDB process found in the
network document that the
serverStatus command collects. |
|
Durations and throughput of the MongoDB process’
oplog.
The OPLOG_SLAVE_LAG_MASTER_TIME metric is deprecated in the
measurement API. Use the OPLOG_REPLICATION_LAG_TIME metric
instead. It returns decimal values (seconds and milliseconds).
For example, the value 2.75 means 2 seconds and 750 milliseconds. |
|
On-disk storage space as collected from the MongoDB dbStats
command. |
|
Rate of database operations on a MongoDB process since the
process last started found in the opcounters document that the
serverStatus command collects. |
|
Rate of database operations on MongoDB
secondaries found in the
opcountersRepl document that the
serverStatus
command collects. |
|
Average rate of documents returned, inserted, updated, or deleted per second during a selected time period. |
|
Average rate for operations per second during a selected time period that perform a sort but cannot perform the sort using an index. |
|
Average execution time in milliseconds per read, write, or command operation during a selected time period. Available to hosts running MongoDB 3.4 or later. |
|
Number of times the host restarted within the previous hour. |
|
Physical memory usage, in bytes. |
|
Network throughput in bytes per second. |
|
Total amount swap space in use. |
|
Average rate per second to scan index items during
queries and query-plan evaluations found in the value of
totalKeysExamined from the
explain command. |
|
Average rate of documents scanned per second during queries
and query-plan evaluations found in the value of
totalDocsExamined from the
explain command. |
|
Ratio of the number of index items scanned to the number of documents returned. |
|
Ratio of the number of documents scanned to the number of documents returned. |
Process Measurements¶
|
MongoDB CPU usage. For hosts with more than one CPU core, these values can exceed 100%. Requires Ops Manager Automation. |
|
MongoDB CPU usage scaled to a range of 0% to 100% by dividing by the number of CPU cores. Requires Ops Manager Automation. |
System Measurements¶
|
CPU usage of processes on the host. For hosts with more than one CPU core, this value can exceed 100%. Requires Ops Manager Automation. |
|
CPU usage of processes on the host scaled to a range of 0 to 100% by dividing by the number of CPU cores. Requires Ops Manager Automation. |
|
Physical memory usage, in bytes. |
|
Network throughput in bytes per second. |
|
Total amount swap space in use. |
Disk Measurements¶
|
Number of Input/Output operations for the disk partition that hosts MongoDB. Requires Ops Manager Automation. |
|
Percentage of time when the partition issues and services requests. This includes requests from any process, not just MongoDB processes. Requires Ops Manager Automation. |
|
Latency per operation type of the disk partition that hosts MongoDB. Requires Ops Manager Automation. |
|
Measures the free disk space and used disk space on the disk partition used by MongoDB. Only available if you use Ops Manager Automation. |
Database Measurements¶
|
Duration that the host is write locked. |
|
Amount of disk storage that database uses on-disk storage space found from the MongoDB dbStats command. By default, the Monitoring retrieves database
measurements every 20 minutes but adjusts frequency when
necessary to reduce the impact on database performance. To
disable collecting database statistics in the Ops Manager, click
Settings, then click Group Settings, and
then set Collect Database Specific Statistics to
|