Collector Type: Agent
Category: Application Monitors
Application Name: Mongos
Global Template Name: LINUX Mongos Template
Introduction
Mongos for “MongoDB Shard” is a routing service for MongoDB shard configurations that processes queries from the application layer, and determines the location of this data in the sharded cluster in order to complete these operations.
Prerequisites
python-pymongo package is needed to be installed in the server vistara agent runs on.
Parameters
Name | Default Value |
---|---|
Host IP Address The host on which MongoDB is running. | 127.0.0.1 |
Port The port on which Mongo Server is running. | 27017 |
User Name The username of the MongoDB Server. | NA |
Password The password of the MongoDB Server. | NA |
Note: All field attributes are mandatory, use default values wherever applicable.
Collected Metrics
Metric Name | Display Name |
---|---|
mongos.chunks Total number of mongos chunks. | Mongos Chunks |
mongodb.activeclients Total number of mongos shards. | Mongos Shards |
mongos.collections Total number of mongos sharded collections. | Mongos Collections |
mongos.chunks.balance Provides Mongos chunks balance b/w database and collections. | Mongos Chunks Balance |