aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprometheus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prometheus.py b/prometheus.py
index 007b4f6..d2ffcf5 100755
--- a/prometheus.py
+++ b/prometheus.py
@@ -92,7 +92,7 @@ class Prometheus():
online_ipversion.labels(host,node,k).set(v)
for client, data in self._metrics.get_online_client_by_ipversion(node=node,vhost=host).items():
for k, v in data.items():
- online_client_ipversion.labels(host,node,str(k),client).set(v)
+ online_client_ipversion.labels(host,node,client,str(k)).set(v)
return registry