Sign inSign up

louisgrasset/yggtorrent-exporter

By louisgrasset

•Updated over 1 year ago

Image
0

1.2K

louisgrasset/yggtorrent-exporter repository overview

⁠YGG Torrent Exporter

Straightforward YggTorrent leeching / seeding exporter for Prometheus⁠. This exporter relies on the Cloudflare cookie stored on the browser when you are logged in to YggTorrent. Data is refreshed every two hours.

⁠Exposed metrics

The ratio isn't exposed as a metric since it can be computed in your visualization tool.

MetricDescription
⏬yggtorrent_download_bytes_totalTotal amount of bytes leeched from YggTorrent
⏫yggtorrent_upload_bytes_totalTotal 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:

VariableDescription
YGG_PROFILE_URLYour profile URL. (find it by posting a comment under a torrent) (eg. https://sub.domain.tld/profile/xxxxxx-xxxxx)
YGG_COOKIEThe cookie string from YGG starting by cf_clearance
YGG_USER_AGENTThe user-agent string of the browser you extracted the cookie string from

Tag summary

Content type

Image

Digest

sha256:748f17322…

Size

60.3 MB

Last updated

over 1 year ago

docker pull louisgrasset/yggtorrent-exporter