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(+) (limited to 'README.md') 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 mg src='/cgit.png' alt='cgit logo'/> index : nextcloud-news
Mirror of https://github.com/nextcloud/newsmatthias
summaryrefslogtreecommitdiffstats
blob: d74af07784a9b29e6b82d36a66862df39880eb21 (plain)
1
2
3
4
5
6
[submodule "tests/test_helper/bats-support"]
	path = tests/test_helper/bats-support
	url = https://github.com/bats-core/bats-support.git
[submodule "tests/test_helper/bats-assert"]
	path = tests/test_helper/bats-assert
	url = https://github.com/bats-core/bats-assert.git