You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Mark Gui (Jira)" <ji...@apache.org> on 2021/09/01 12:20:00 UTC
[jira] [Created] (HDDS-5706) Fix ReplicationManager zero metrics
for inflight actions.
Mark Gui created HDDS-5706:
------------------------------
Summary: Fix ReplicationManager zero metrics for inflight actions.
Key: HDDS-5706
URL: https://issues.apache.org/jira/browse/HDDS-5706
Project: Apache Ozone
Issue Type: Bug
Reporter: Mark Gui
Assignee: Mark Gui
There are 3 metrics in RM that is always 0:
{code:java}
[ozoneadmin@3d6bc06ffe3d ~]$ curl http://localhost:9876/prom 2>/dev/null | grep replication_manager | grep -v "^#" | grep inflight
replication_manager_metrics_inflight_deletion{hostname="3d6bc06ffe3d"} 0
replication_manager_metrics_inflight_move{hostname="3d6bc06ffe3d"} 0
replication_manager_metrics_inflight_replication{hostname="3d6bc06ffe3d"} 0
{code}
This is due to a wrong metrics adding method.
We should implement the MetricsSource interface and override getMetrics(), then we can add correct dynamic gauge for these.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org