mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2026-11-25 15:39:46 +00:00
Edit docstring
This commit is contained in:
1 parent
330d8ec86a
commit
71416a79ea
1 file changed
+1
-2
@@ -52,8 +52,7 @@ class QbittorrentMetricsCollector:
|
||||
|
||||
def collect(self) -> Iterable[GaugeMetricFamily | CounterMetricFamily]:
|
||||
"""
|
||||
Gets Metric objects representing the current state of qbittorrent and yields
|
||||
Prometheus gauges.
|
||||
Yields Prometheus gauges and counters from metrics collected from qbittorrent.
|
||||
"""
|
||||
metrics: list[Metric] = self.get_qbittorrent_metrics()
|
||||
|
||||
|
||||
Reference in new issue
Block a user