https://github.com/mdlayher/rtorrent_exporter
Prometheus exporter that exposes metrics from rTorrent. MIT Licensed.
https://github.com/mdlayher/rtorrent_exporter
Last synced: about 1 month ago
JSON representation
Prometheus exporter that exposes metrics from rTorrent. MIT Licensed.
- Host: GitHub
- URL: https://github.com/mdlayher/rtorrent_exporter
- Owner: mdlayher
- License: mit
- Archived: true
- Created: 2016-03-09T22:41:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T13:10:02.000Z (almost 3 years ago)
- Last Synced: 2024-10-31T02:33:39.754Z (6 months ago)
- Language: Go
- Size: 18.6 KB
- Stars: 38
- Watchers: 6
- Forks: 15
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
rtorrent_exporter [](http://godoc.org/github.com/mdlayher/rtorrent_exporter) [](https://travis-ci.org/mdlayher/rtorrent_exporter) [](https://coveralls.io/r/mdlayher/rtorrent_exporter?branch=master)
=================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"
```Docker
------```
docker build -t rtorrent_exporter .
docker run --rm -d -p 9135:9135 rtorrent_exporter -rtorrent.addr "http://127.0.0.1/RPC2"
```Sample
------Here is a screenshot of a sample dashboard created using [`grafana`](https://github.com/grafana/grafana)
with metrics from exported from `rtorrent_exporter`.