metalmatze / transmission-exporter

Prometheus exporter for Transmission metrics, written in Go.
MIT License
99 stars 40 forks source link

Report the number of peers connected to #28

Closed sprt closed 9 months ago

sprt commented 3 years ago

First of all, I love this exporter; super useful for my Grafana dashboard!

So right now the exporter is only reporting the number of seeders/leechers returned by each tracker you're connected to. However these two numbers are not necessarily equal to the number of peers you're downloading from and seeding to (e.g., a tracker could report 10 seeders but only 5 of them could actually be uploading to us for whatever reason).

So I suggest the exporter reports those two numbers as well (peersSendingToUs and peersGettingFromUs as returned by Transmission's API). Happy to submit a PR if this sounds interesting.

metalmatze commented 3 years ago

If you are interested to have these numbers then feel free to send a PR :)