You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:24:01 UTC
[jira] [Updated] (FLINK-14410) Retrieve CharacterFilter once after registration
[ https://issues.apache.org/jira/browse/FLINK-14410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yun Gao updated FLINK-14410:
----------------------------
Fix Version/s: 1.16.0
(was: 1.15.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.16.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.1#820001)