Chesnay Schepler created FLINK-14410: ----------------------------------------
Summary: Retrieve CharacterFilter once after registration Key: FLINK-14410 URL: https://issues.apache.org/jira/browse/FLINK-14410 Project: Flink Issue Type: Improvement Components: Runtime / Metrics Reporter: Chesnay Schepler Assignee: Chesnay Schepler Fix For: 1.10.0 Reporters can use a {{CharacterFilter}} to remove/replace characters when assembling metric identifiers. Currently the reporter pass this filter in every call to scope-related methods on the {{MetricGrou}}. We could streamline the {{MetricScope}} API proposed in FLINK-14350 if instead we retrieved this filter once after the reporter is initialized. This would furthermore prevent subtle bugs if reporters use varying filters; due to the caching of scopes only the first filter would truly be applied to the scope. -- This message was sent by Atlassian Jira (v8.3.4#803005)