summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index d201730..9181d81 100644
--- a/README.md
+++ b/README.md
@@ -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