You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/03/24 13:50:00 UTC

[jira] [Created] (FLINK-26850) Add MetricType enum

Chesnay Schepler created FLINK-26850:
----------------------------------------

             Summary: Add MetricType enum
                 Key: FLINK-26850
                 URL: https://issues.apache.org/jira/browse/FLINK-26850
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.16.0


Reporters currently have to resort to instanceof checks to handle different metric types. An enum coude make this code cheaper and easier to maintain as the enum would provide a listing of all metric types that exist.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)