Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thde/rtorrent_exporter
rTorrent Prometheus exporter
https://github.com/thde/rtorrent_exporter
exporter prometheus rtorrent
Last synced: 19 days ago
JSON representation
rTorrent Prometheus exporter
- Host: GitHub
- URL: https://github.com/thde/rtorrent_exporter
- Owner: thde
- License: apache-2.0
- Created: 2022-03-08T20:55:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T08:59:30.000Z (about 2 months ago)
- Last Synced: 2024-10-11T07:45:44.789Z (about 1 month ago)
- Topics: exporter, prometheus, rtorrent
- Language: Go
- Homepage:
- Size: 130 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prometheus rTorrent Exporter
`rtorrent_exporter` exposes metrics from a rtorrent instance.
## Installation
Binaries can be downloaded from the [Github releases](https://github.com/thde/rtorrent_exporter/releases) page and need no
special installation.A Docker container (`ghcr.io/thde/rtorrent_exporter:latest`) is also available through [Github's registry](https://github.com/thde/rtorrent_exporter/pkgs/container/rtorrent_exporter).
## Usage
```
usage: rtorrent_exporter []Prometheus exporter for rTorrent.
Flags:
-h, --[no-]help Show context-sensitive help (also try --help-long and --help-man). ($RTORRENT_EXPORTER_HELP)
--web.listen-address=:9135 ...
Addresses on which to expose metrics and web interface. Repeatable for multiple addresses.
($RTORRENT_EXPORTER_WEB_LISTEN_ADDRESS)
--web.config.file="" Path to configuration file that can enable TLS or authentication. See:
https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md
($RTORRENT_EXPORTER_WEB_CONFIG_FILE)
--web.telemetry-path="/metrics"
Path under which to expose metrics. ($RTORRENT_EXPORTER_WEB_TELEMETRY_PATH)
--rtorrent.scrape-uri="http://localhost/RPC2"
URI on which to scrape rTorrent. Use http://user:[email protected] to supply basic auth
credentials. ($RTORRENT_EXPORTER_RTORRENT_SCRAPE_URI)
--[no-]rtorrent.ssl-verify
Flag that enables SSL certificate verification for the scrape URI.
($RTORRENT_EXPORTER_RTORRENT_SSL_VERIFY)
--rtorrent.timeout=5s Timeout for trying to get stats from rtorrent. ($RTORRENT_EXPORTER_RTORRENT_TIMEOUT)
--log.level=info Only log messages with the given severity or above. One of: [debug, info, warn, error]
($RTORRENT_EXPORTER_LOG_LEVEL)
--log.format=logfmt Output format of log messages. One of: [logfmt, json] ($RTORRENT_EXPORTER_LOG_FORMAT)
--[no-]version Show application version. ($RTORRENT_EXPORTER_VERSION)
```