GithubHelp home page GithubHelp logo

plugin-mongo's Introduction

Boundary MongoDB Plugin

Collects metrics from a MongoDB server instance. MongoDB statistics are pulled via a REST API call. See video walkthrough.

Prerequisites

OS Linux Windows SmartOS OS X
Supported v v v v
Runtime node.js Python Java
Required +

Plugin Setup

The statistics are pulled from http://hostname:(port+1000)/_status. If you did not change the MongoDB default port, we will use 28107.

  1. Verify that you have access to the MongoDB statics by using curl by running the following command:

    $ curl http://localhost:28017/_status
  2. If you cannot view the page, you may need to enable the Mongo REST interface

  3. If after enabling the Mongo REST interface, you are still unable to collect information from the REST interface and if you are polling remotely, ensure that the port that is serving the Mongo REST interfaces is open. You can bypasss any firewall restrictions by running locally where the MongoDB is running.

Plugin Configuration Fields

Field Name Description
Hostname The hostname of MongoDB
Port Port to use when accessing MongoDB
Username (optional) Username to access MongoDB
Password (optional) Pasword to access MongoDB
Source (optional) The Source to display in the legend for the MongoDB data. It will default to the hostname of the server

Metrics Collected

Tracks the following metrics for MongoDB

Metric Name Description
Mongo hits the number of times an accessed index was return from memory
Mongo misses the number of times an accessed index was not in memory
Mongo miss ratio Ratio of hits to misses [ hits / (hits+misses) ]
Mongo connections The number of open connections
Mongo avail conns The number of available connections
Mongo conn limit The ratio of used connections [used / (used+avail)]
Mongo global lock ratio Percentage of time spent in the global lock
Mongo resident memory The amount of RAM being used by Mongo
Mongo virtual memory The amount of virtual memory used by Mongo
Mongo mapped memory Mongo uses memory-mapped files, this will be about the size of the DB
Mongo inserts The number of mongo insert operations
Mongo queries The number of mongo query operations
Mongo updates The number of mongo update operations
Mongo deletes The number of mongo delete operations
Mongo getmore The number of mongo getmore operations
Mongo commands The number of mongo commands issued

plugin-mongo's People

Contributors

codemoran avatar ph07 avatar jdgwartney avatar metawave avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.