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

Tsz-wo Sze updated RATIS-1689:
------------------------------
    Description: 
bq. 1. Define a new public metrics API which uses only Java classes.

This JIRA is a part for the above task described in RATIS-1688.

Remove the use of org.apache.ratis.thirdparty.com.codahale.metrics.Gauge from 
the public metrics API* and the main Ratis code. Note that the tests and 
metrics implementations can use it.

\* Note that we currently do not have a clear definition of the public metrics 
API yet. Some of the current interfaces such as RatisMetricRegistry are going 
to be a part of the public API.

Note also that all components (such as Counter, Timer, etc) from 
org.apache.ratis.thirdparty.com.codahale.metric have to be removed from the 
public metrics API and the main Ratis code.  They will be removed by separated 
JIRAs.

  was:
Remove the use of org.apache.ratis.thirdparty.com.codahale.metrics.Gauge from 
the public metrics API* and the main Ratis code. Note that the tests and 
metrics implementations can use it.

\* Note that we currently do not have. a clear definition of the public metrics 
API yet. Some of the current interfaces such as RatisMetricRegistry are going 
to be a part of the public API.

Note also that all components (such as Counter, Timer, etc) from 
org.apache.ratis.thirdparty.com.codahale.metric have to be removed from the 
public metrics API and the main Ratis code.  They will be removed by separated 
JIRAs.


> Remove the use of the thirdparty Gauge
> --------------------------------------
>
>                 Key: RATIS-1689
>                 URL: https://issues.apache.org/jira/browse/RATIS-1689
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: metrics
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> bq. 1. Define a new public metrics API which uses only Java classes.
> This JIRA is a part for the above task described in RATIS-1688.
> Remove the use of org.apache.ratis.thirdparty.com.codahale.metrics.Gauge from 
> the public metrics API* and the main Ratis code. Note that the tests and 
> metrics implementations can use it.
> \* Note that we currently do not have a clear definition of the public 
> metrics API yet. Some of the current interfaces such as RatisMetricRegistry 
> are going to be a part of the public API.
> Note also that all components (such as Counter, Timer, etc) from 
> org.apache.ratis.thirdparty.com.codahale.metric have to be removed from the 
> public metrics API and the main Ratis code.  They will be removed by 
> separated JIRAs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to