Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 587 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 587 Bytes

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