[
https://issues.apache.org/jira/browse/FLINK-15314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-15314:
-----------------------------------
Labels: auto-deprioritized-major auto-deprioritized-minor (was:
auto-deprioritized-major stale-minor)
Priority: Not a Priority (was: Minor)
This issue was labeled "stale-minor" 7 days ago and has not received any
updates so it is being deprioritized. If this ticket is actually Minor, please
raise the priority and ask a committer to assign you the issue or revive the
public discussion.
> To refactor duplicated code in
> TaskManagerDetailsHandler#createTaskManagerMetricsInfo
> -------------------------------------------------------------------------------------
>
> Key: FLINK-15314
> URL: https://issues.apache.org/jira/browse/FLINK-15314
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Metrics, Runtime / REST
> Reporter: lining
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor
>
> As
> [code|https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/rest/handler/taskmanager/TaskManagerDetailsHandler.java#L119-L142]
> show, use hard codes to define metrics' name. Could we unify where to
> register and get metrics?
> * propose
> ** move metrics'name define in MetricUtils to MetricNames
> ** the all get the name form MetricNames
--
This message was sent by Atlassian Jira
(v8.20.1#820001)