Skip to content

opencensus-integrations/mongostatusd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongostatusd

MongoDB server status daemon

It requires you to have a config.yaml in the same working directory as it is running.

In the config.yaml, you can specify desired exporters e.g.

metrics_report_period: 5s

mongodb_uri: mongodb://localhost:27017
mongodb_name: test

which will export to an OpenCensus agent which by default should be at "localhost:55678".

Installing it

go get -u -v github.com/opencensus-integrations/mongostatusd/cmd/mongostatusd

Running it

mongostatusd --config config.yaml