Chesnay Schepler created FLINK-14993:
----------------------------------------
Summary: Pass all reporter-specific settings via the FrontMetricGroup
Key: FLINK-14993
URL:
https://issues.apache.org/jira/browse/FLINK-14993 Project: Flink
Issue Type: Improvement
Components: Runtime / Metrics
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: 1.10.0
For the assembly of scopes there currently exist 3 parameters that are defined per reporter; the reporter index, used to cache scopes separately per reporter, and the delimiter/filter pair that is applied to each scope.
Currently, the FrontMetricGroup only provides the index, which the AbstractMetricGroup uses to figure out which delimiter should be used.
Instead we can store the delimiter directly in the FrontMetricGroup; this simplifies the metric group implementation and further decouples the scope generation from the MetricRegistry.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)