[ 
https://issues.apache.org/jira/browse/HDDS-5706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ethan Rose resolved HDDS-5706.
------------------------------
    Resolution: Fixed

Resolving since the PR was merged. Please re-open if this is incorrect.

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to