flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-11923) Refactor MetricRegistryConfiguration to provide MetricReporter suppliers
Date Fri, 15 Mar 2019 08:01:00 GMT

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

Chesnay Schepler updated FLINK-11923:
-------------------------------------
    Description: {{MetricReporters}} are currently instantiated in the constructor of the
{{MetricRegistryImpl,}} based on the reporter-specific {{Configuration}} provided by the {{MetricRegistryConfiguration}}.
To ease testing it would be great if the MRC would instead provide {{Suppliers}} instead,
so that a reporter can be setup without having to go through the configuration every time.
 (was: {{MetricReporters}} are currently instantiated in the constructor of the {{MetricRegistryImpl}}.
To ease testing it would be great if instead already instantiated reporters are passed into
the registry instead, as this would allow testing of the registry without having to deal with
any configuration setup/parsing.)

> Refactor MetricRegistryConfiguration to provide MetricReporter suppliers
> ------------------------------------------------------------------------
>
>                 Key: FLINK-11923
>                 URL: https://issues.apache.org/jira/browse/FLINK-11923
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Metrics
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.9.0
>
>
> {{MetricReporters}} are currently instantiated in the constructor of the {{MetricRegistryImpl,}}
based on the reporter-specific {{Configuration}} provided by the {{MetricRegistryConfiguration}}.
To ease testing it would be great if the MRC would instead provide {{Suppliers}} instead,
so that a reporter can be setup without having to go through the configuration every time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message