thde / rtorrent_exporter Goto Github PK
View Code? Open in Web Editor NEWrTorrent Prometheus exporter
License: Apache License 2.0
rTorrent Prometheus exporter
License: Apache License 2.0
Hi again,
i discovered that this exporter uses the Gauge Metric Type for total values, more specific for:
However, for rtorrent_client_requests_total you are already using the counter metric type.
According to the Prometheus Docs Counter would be the much better metric type for this, because a total value can never decrease (unless a break in the monotony like a restart happens).
What do you think about this @thde ?
"stopped": rtorrent.ViewStopped and hashing No longer works since update 1.3.0
Hi,
i would love to geta feature that shows the count of currently uploading/downloading torrents and also the current Down/Upload Speeds.
Are you already planning on something like this?
If i find some free time (and my go skills are sufficient) i might take a look into this as well :)
If possible, i would like to more inform information about the downloads. I want to be able to track how much rtorrent_uploaded_bytes and rtorrent_downloaded_bytes broken down into each tracker. I want to be able to track the usage per tracker
Hey! Do you have a grafana Dashboard that you have created that works ? rtorrent doesnt seem to work https://grafana.com/grafana/dashboards/15502-rtorrent/
Hi!
Thank you for all your hard work. I love your code! If possible it would be great if you could add more metrics. I was trying to add them but i dont know go at all.
`// New metrics based on DownloadsSource interface
downloadsStarted = prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "downloads_started"), "Torrents started.", nil, nil)
downloadsStopped = prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "downloads_stopped"), "Torrents stopped.", nil, nil)
downloadsComplete = prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "downloads_complete"), "Torrents complete.", nil, nil)
downloadsIncomplete = prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "downloads_incomplete"), "Torrents incomplete.", nil, nil)
downloadsHashing = prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "downloads_hashing"), "Torrents hashing.", nil, nil)
downloadsSeeding = prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "downloads_seeding"), "Torrents seeding.", nil, nil)
downloadsLeeching = prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "downloads_leeching"), "Torrents leeching.", nil, nil)
downloadsActive = prometheus.NewDesc(prometheus.BuildFQName(namespace, "", "downloads_active"), "Torrents active.", nil, nil)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.