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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to