[ https://issues.apache.org/jira/browse/FLINK-14410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Ge updated FLINK-14410: ---------------------------- Fix Version/s: 1.19.0 (was: 1.18.0) > 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 > Priority: Minor > Labels: auto-deprioritized-major, auto-unassigned > Fix For: 1.19.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.20.10#820010)