prometheus: fix client by ip
This commit is contained in:
parent
a6d1ae443e
commit
d5304e67eb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue