Prometheus exporter that exposes metrics from rTorrent. MIT Licensed.
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd/rtorrent_exporter
.travis.yml
LICENSE.md
README.md
downloadscollector.go
downloadscollector_test.go
rtorrentexporter.go
rtorrentexporter_test.go

README.md

rtorrent_exporter GoDoc Build Status Coverage Status

Command rtorrent_exporter provides a Prometheus exporter for rTorrent.

Package rtorrentexporter provides the Exporter type used in the rtorrent_exporter Prometheus exporter.

MIT Licensed.

Usage

Available flags for rtorrent_exporter include:

$ ./rtorrent_exporter -h
Usage of ./rtorrent_exporter:
  -rtorrent.addr string
        address of rTorrent XML-RPC server
  -telemetry.addr string
        host:port for rTorrent exporter (default ":9135")
  -telemetry.path string
        URL path for surfacing collected metrics (default "/metrics")

An example of using rtorrent_exporter:

$ ./rtorrent_exporter -rtorrent.addr http://127.0.0.1/RPC2
2016/03/09 17:39:40 starting rTorrent exporter on ":9135" for server "http://127.0.0.1/RPC2"

Sample

Here is a screenshot of a sample dashboard created using grafana with metrics from exported from rtorrent_exporter.

sample