diff options
author | genofire <geno+dev@fireorbit.de> | 2020-06-10 12:12:46 +0200 |
---|---|---|
committer | genofire <geno+dev@fireorbit.de> | 2020-06-10 12:12:46 +0200 |
commit | d5304e67ebce724dcf927a58cd590b5c490cc6c5 (patch) | |
tree | aa6cfcc804852894d2728006fd3c92c0ea019c08 | |
parent | a6d1ae443e4e613008b2b349bdbb49591cbc1626 (diff) |
prometheus: fix client by ip
-rwxr-xr-x | prometheus.py | 2 |
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 |