Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/dcu/mongodb_exporter

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/dcu/mongodb_exporter

  • v1.0.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Mongodb Exporter

MongoDB exporter for prometheus.io, written in go.

screenshot

Installing

Download a release

Building

Requires glide for dependency management

git clone git@github.com:dcu/mongodb_exporter.git $GOPATH/src/github.com/dcu/mongodb_exporter
cd $GOPATH/src/github.com/dcu/mongodb_exporter
make build
./mongodb_exporter -h

The mongodb url can contain credentials which can be seen by other users on the system when passed in as command line flag. To pass in the mongodb url securely, you can set the MONGODB_URL environment variable instead.

Available groups of data

NameDescription
assertsThe asserts group reports the number of asserts on the database. While assert errors are typically uncommon, if there are non-zero values for the asserts, you should check the log file for the mongod process for more information. In many cases these errors are trivial, but are worth investigating.
durabilityThe durability group contains data regarding the mongod's journaling-related operations and performance. mongod must be running with journaling for these data to appear in the output of "serverStatus".
background_flushingmongod periodically flushes writes to disk. In the default configuration, this happens every 60 seconds. The background_flushing group contains data regarding these operations. Consider these values if you have concerns about write performance and journaling.
connectionsThe connections groups contains data regarding the current status of incoming connections and availability of the database server. Use these values to assess the current load and capacity requirements of the server.
extra_infoThe extra_info group holds data collected by the mongod instance about the underlying system. Your system may only report a subset of these fields.
global_lockThe global_lock group contains information regarding the database’s current lock state, historical lock status, current operation queue, and the number of active clients.
index_countersThe index_counters groupp reports information regarding the state and use of indexes in MongoDB.
networkThe network group contains data regarding MongoDB’s network use.
op_countersThe op_counters group provides an overview of database operations by type and makes it possible to analyze the load on the database in more granular manner. These numbers will grow over time and in response to database use. Analyze these values over time to track database utilization.
op_counters_replThe op_counters_repl group, similar to the op_counters data structure, provides an overview of database replication operations by type and makes it possible to analyze the load on the replica in more granular manner. These values only appear when the current host has replication enabled. These values will differ from the opcounters values because of how MongoDB serializes operations during replication. These numbers will grow over time in response to database use. Analyze these values over time to track database utilization.
memoryThe memory group holds information regarding the target system architecture of mongod and current memory use
locksThe locks group containsdata that provides a granular report on MongoDB database-level lock use
metricsThe metrics group holds a number of statistics that reflect the current use and state of a running mongod instance.
cursorsThe cursors group contains data regarding cursor state and use. This group is disabled by default because it is deprecated in mongodb >= 2.6.

For more information see the official documentation.

Roadmap

FAQs

Package last updated on 23 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc