~matthiasbeyer/prometheus-mpd-exporter

4d2a42e374fb42a4e5e4d91b85023ddd96e51aaf — Matthias Beyer 1 year, 5 months ago a452131 master v0.1.0
Add usage example

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
1 files changed, 14 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +14 -0
@@ 3,6 3,20 @@
Export MPD server metrics to prometheus.


## Usage

```
RUST_LOG=info \
prometheus-mpd-exporter                            \
    --mpd-server-addr 127.0.0.1                    \
    --mpd-server-port 6600                         \
    --bind-addr <address to bind to, e.g. 0.0.0.0> \
    --bind-port <port to bind to, e.g. 9123>
```

And then start scraping with prometheus.


## License

GPLv2.0 only