Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-15314

To refactor duplicated code in TaskManagerDetailsHandler#createTaskManagerMetricsInfo

    XMLWordPrintableJSON

Details

    Description

      As code 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            lining lining
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: