#mpd #prometheus #utils #logging #server-port

app prometheus-mpd-exporter

Export MPD metrics to prometheus

1 unstable release

0.1.0 Jan 3, 2021

#22 in #server-port

GPL-2.0 license

27KB
163 lines

prometheus-mpd-exporter

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

Dependencies

~36–51MB
~1M SLoC