Agents generated by the plugin
The plugin will create an agent for each target database. That agent will contain the following modules
At the instance level
If engine_uptime is activated:
| uptime | Displays the time the MongoDB server has been running since its last reset or startup. |
If query_stats is activated:
| queries command | Number of MongoDB queries involving command operations. |
| queries delete | Number of delete operations performed on the MongoDB database. |
| queries getmore | Number of "getmore" operations executed, "getmore" is used to get more results from a query when the results do not fit in a single batch. |
| queries insert | Number of insert operations performed on the MongoDB database. |
| queries query | Number of query operations performed on the MongoDB database. |
| queries update | Number of update operations performed on the MongoDB database. |
If analyze_connections is activated:
| connections available | Number of available connections on the MongoDB server |
| connections current | Current number of active connections on the MongoDB server |
| connections totalCreated | Total number of connections that have been created on the MongoDB server since it was started or restarted. |
| MONGODB connection | Current connection availability |
If latency is activated:
| commands latency | Average latency of command type operations in MongoDB. |
| commands ops | Total number of command type operations performed in MongoDB. |
| reads latency | Average latency of read operations in MongoDB. |
| reads ops | Total number of read operations performed on MongoDB. |
| writes latency | Average latency of MongoDB write operations. |
| writes ops | Total number of write operations performed on MongoDB. |
If network is activated:
| bytesIn | Total number of bytes that have been received by the MongoDB server since it was started or restarted. |
| bytesOut | Total number of bytes that have been sent by the MongoDB server to clients or applications since it was started or restarted. |
| numRequests | Total number of requests that the MongoDB server has received since it was started or restarted. |
At the database level
| <db_name> collections | Number of collections in the database. |
| <db_name> indexes | Number of indexes in the database. |
| <db_name> indexSize | Total size of all indexes in the database in bytes. |
| <db_name> views | Number of views in the database. |
| <db_name> objects | Number of documents (objects) in the database. |
| <db_name> avgObjSize | Average size of documents in the database in bytes. |
| <db_name> ataSize | Total size of data within the database in bytes. |
| <db_name> storageSize | Total amount of space used by the database on disk, including indexes and padding, in bytes. |
| <db_name> totalSize | Sum of dataSize and indexSize, representing the total size of the database in bytes |
| <db_name> fsUsedSize | Space used in the file system where the database resides in bytes. |
| <db_name> fsTotalSize | Total size of the file system where the database resides, in bytes. |
| <db_name> status | Database status (1 = OK, 0 = error). |