MongoDB
Auto-Discovery
Health Check
Metrics
Logs
If some auto-detected parameters are wrong, you can manually override them
by adding the following to /etc/glouton/conf.d/99-local.conf:
service: [...]
# For a MongoDB running outside a container - type: "mongodb" address: "127.0.0.1" port: 27017
# For an additional MongoDB running outside a container - type: "mongodb" instance: "NAME_ASSOCIATED_WITH_YOUR_ADDITIONAL_SERVICE" address: "127.0.0.1" port: 27018
# For a MongoDB running in a Docker container - type: "mongodb" instance: "CONTAINER_NAME" address: "172.17.0.2" port: 27017Agent gathers the following metrics:
| Metric | Description |
|---|---|
| service_status | Status of MongoDB |
| mongodb_open_connections | Number of client connections to Mongo server |
| mongodb_net_in_bytes | Network traffic received by MongoDB in bytes per second |
| mongodb_net_out_bytes | Network traffic sent by MongoDB in bytes per second |
| mongodb_queued_reads | Number of clients waiting to read data from the MongoDB |
| mongodb_queued_writes | Number of clients waiting to write data to the MongoDB |
| mongodb_active_reads | Number of clients performing read operation |
| mongodb_active_writes | Number of clients performing write operation |
| mongodb_queries | Number of queries per second |