Skip to content

CLI for tracing MongoDb queries in real time.

Notifications You must be signed in to change notification settings

spaiz/mongotrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongotrace

Tool for printing information about the current operations executing on the MongoDB.

Main features

  • Enable/disable logging on MongoDb instances
  • MongoDb clusters support
  • Confugurable
  • Formatt MongoDb queries

Tested on: mongodb v4.0.11

How it looks

Output of raw and formatted query log

Output of raw and formatted query log

Build

make build
make install

Usage examples

mongotrace enable --config="./confs/config.local.json"
mongotrace disable --config="./confs/config.local.json"
mongotrace tail --config="./confs/config.local.json"
mongotrace tail --config="./confs/config.local.json" --debug
mongotrace tail --config="./confs/config.local.json" --raw

About

CLI for tracing MongoDb queries in real time.

Resources

Stars

Watchers

Forks

Packages

No packages published