Skip to content

About

CLI for tracing MongoDb queries in real time.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

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

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages