mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2026-03-02 00:25:42 +00:00
Edit docstring
This commit is contained in:
@@ -52,8 +52,7 @@ class QbittorrentMetricsCollector:
|
|||||||
|
|
||||||
def collect(self) -> Iterable[GaugeMetricFamily | CounterMetricFamily]:
|
def collect(self) -> Iterable[GaugeMetricFamily | CounterMetricFamily]:
|
||||||
"""
|
"""
|
||||||
Gets Metric objects representing the current state of qbittorrent and yields
|
Yields Prometheus gauges and counters from metrics collected from qbittorrent.
|
||||||
Prometheus gauges.
|
|
||||||
"""
|
"""
|
||||||
metrics: list[Metric] = self.get_qbittorrent_metrics()
|
metrics: list[Metric] = self.get_qbittorrent_metrics()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user