You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2016/09/02 09:10:20 UTC

[jira] [Created] (FLINK-4563) [metrics] scope caching not adjusted for multiple reporters

Chesnay Schepler created FLINK-4563:
---------------------------------------

             Summary: [metrics] scope caching not adjusted for multiple reporters
                 Key: FLINK-4563
                 URL: https://issues.apache.org/jira/browse/FLINK-4563
             Project: Flink
          Issue Type: Bug
          Components: Metrics
    Affects Versions: 1.1.0
            Reporter: Chesnay Schepler


Every metric group contains a scope string, representing what entities (job/task/etc.) a given metric belongs to, which is calculated on demand. 

Before this string is cached a CharacterFilter is applied to it, which is provided by the callee, usually a reporter. This was done since different reporters have different requirements in regards to valid characters. The filtered string is cached so that we don't have to refilter the string every time.

This all works fine with a single reporter; with multiple however it is completely broken as only the first filter is ever applied.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)