Skip to content

YGG Torrent tracker prometheus-compatible metrics exporter

Notifications You must be signed in to change notification settings

louisgrasset/yggtorrent-exporter

Repository files navigation

YGG Torrent Exporter

Straightforward YggTorrent leeching / seeding exporter for Prometheus. This exporter relies on FlareSolverr to bypass the Cloudflare's protection (often enabled on YGG). The data is refreshed every two hours.

Exposed metrics

The ratio isn't exposed as a metric since it is not publicly available. But it can be computed in your visualization tool.

Metric Description
yggtorrent_download_bytes_total Total amount of bytes leeched from YggTorrent
yggtorrent_upload_bytes_total Total amount of bytes sent to YggTorrent

Getting started

Simply run the exporter by creating its container. You'll have to pass the following environment variables:

Variable Description
YGG_PROFILE_URL Your profile URL. (find it by posting a comment under a torrent) (eg. https://sub.domain.tld/profile/xxxxxx-xxxxx)
FLARESOLVERR_URL The FlareSolverr URL (eg. http://flaresolverr:8191 or http://sub.domain.tld)

About

YGG Torrent tracker prometheus-compatible metrics exporter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published