[jira] [Created] (FLINK-14350) Introduce dedicated MetricScope

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14350) Introduce dedicated MetricScope

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-14350:
----------------------------------------

             Summary: Introduce dedicated MetricScope
                 Key: FLINK-14350
                 URL: https://issues.apache.org/jira/browse/FLINK-14350
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.10.0


The MetricGroup interface is currently overloaded, being used both for registering groups/metrics (typically called from user-functions) and accessing scope information (typically called from reporters).

Due to effectively having 2 different audiences with different use-cases it makes sense to move the scope-related methods into a separate interface.

This should make it a lot easier to extend these interfaces, as significantly less tests have to be adjusted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)