mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-23 16:49:29 +00:00
Edit docstring
This commit is contained in:
parent
330d8ec86a
commit
71416a79ea
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user