You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (Jira)" <ji...@apache.org> on 2020/12/08 06:42:11 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 ]

Robert Metzger updated FLINK-14410:
-----------------------------------
    Fix Version/s:     (was: 1.12.0)
                   1.13.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
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.13.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)