[ 
https://issues.apache.org/jira/browse/FLINK-14410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler updated FLINK-14410:
-------------------------------------
    Fix Version/s:     (was: 1.10.0)
                   1.11.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.11.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)

Reply via email to