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)