popstas / transmission-cli

Transmission PHP client for detect profit torrents and automate weburg.net downloads
http://transmission-cli.popstas.ru
MIT License
18 stars 2 forks source link

Add speed metrics #42

Open popstas opened 7 years ago

popstas commented 7 years ago

From #29, by @Lokotito: I don't know if you have plans to add speed metrics for your software (downloading and uploading speeds); and also will be great to implement in UPLOADED: active-downloading (something like speed x downloading_status) , active-sedding (something like speed x seeding_status), and downloaded_last. I'm not sure how software clients (like transmission-remote) interpret the ACTIVE status because also include seed + seed waiting, totals are same but sometimes stats varies by +1 from client (not total just downlad and seed metrics).

popstas commented 7 years ago

@Lokotito, good request, I don't treated about transmission-cli as realtime torrent monitoring, but why not? )

I can add uploaded_last metric, then I can add graph to grafana: uploaded_last / delta_time.

Current speed useless for me (I send stats one per hour), but I can add current upload/download too.

How frequently you send stats?

Lokotito commented 7 years ago

Will be real cool to implement that. Well, Before I using a tool under colletd-graphite, to send ethernet download-upload from speed stats per time_interval to grafana. I really don't know how take this metrics for speeds, but configured my graphana every 5mins (refresh every 5min), if is possible have this kind of detail in speeds metrics.