From 4d2a42e374fb42a4e5e4d91b85023ddd96e51aaf Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 3 Jan 2021 18:17:12 +0100 Subject: Add usage example Signed-off-by: Matthias Beyer --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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
\ + --bind-port +``` + +And then start scraping with prometheus. + + ## License GPLv2.0 only -- cgit v1.2.3