Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opencensus-integrations/mongostatusd

MongoDB server status daemon
https://github.com/opencensus-integrations/mongostatusd

Last synced: about 2 months ago
JSON representation

MongoDB server status daemon

Awesome Lists containing this project

README

        

# 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.

```yaml
metrics_report_period: 5s

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

which will export to an [OpenCensus agent](https://opencensus.io/agent/) which by default should be at "localhost:55678".

### Installing it
```go
go get -u -v github.com/opencensus-integrations/mongostatusd/cmd/mongostatusd
```

### Running it

```shell
mongostatusd --config config.yaml
```