Fixed up metric value and documentation

This commit is contained in:
Esteban Sánchez
2020-09-29 13:46:41 +02:00
parent b391e5f83a
commit 109924d0da
2 changed files with 7 additions and 7 deletions

View File

@@ -77,8 +77,8 @@ class QbittorrentMetricsCollector():
return [
{
"name": "up",
"value": response is None,
"name": "qbittorrent_up",
"value": response is not None,
"labels": {"version": version},
"help": "Whether if server is alive or not",
},