Change name metric Inner ring

Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
Dmitriy Zayakin 2023-07-05 09:21:25 +03:00 committed by Dmitriy Zayakin
parent a14b082a4d
commit f8409fa9f9

View file

@ -16,7 +16,7 @@ class InnerRing(NodeBase):
"""
def service_healthcheck(self) -> bool:
health_metric = "frostfs_node_ir_health"
health_metric = "frostfs_ir_ir_health"
output = (
self.host.get_shell()
.exec(f"curl -s localhost:6662 | grep {health_metric} | sed 1,2d")
@ -167,7 +167,7 @@ class StorageNode(NodeBase):
def get_un_locode(self):
return self._get_attribute(ConfigAttributes.UN_LOCODE)
def get_data_directory(self) -> str:
return self.host.get_data_directory(self.name)