mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2026-11-25 23:08:00 +00:00
total dl/up
This commit is contained in:
1 parent
c10515dc08
commit
62952917be
3 files changed
+203
-42
No files matched your search
@@ -270,6 +270,20 @@ class TestQbittorrentMetricsCollector(unittest.TestCase):
|
||||
help_text="Data uploaded since the server started, in bytes.",
|
||||
metric_type=MetricType.COUNTER,
|
||||
),
|
||||
Metric(
|
||||
name="qbittorrent_alltime_dl",
|
||||
value=0,
|
||||
labels={}, # no labels in the example
|
||||
help_text="Total data downloaded, in bytes.",
|
||||
metric_type=MetricType.COUNTER,
|
||||
),
|
||||
Metric(
|
||||
name="qbittorrent_alltime_ul",
|
||||
value=0,
|
||||
labels={}, # no labels in the example
|
||||
help_text="Total data uploaded, in bytes.",
|
||||
metric_type=MetricType.COUNTER,
|
||||
),
|
||||
]
|
||||
|
||||
metrics = self.collector._get_qbittorrent_status_metrics()
|
||||
|
||||
Reference in new issue
Block a user