You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/11/11 09:49:00 UTC

[jira] [Created] (FLINK-29993) Provide more convenient way to programmatically configure reporters

Chesnay Schepler created FLINK-29993:
----------------------------------------

             Summary: Provide more convenient way to programmatically configure reporters
                 Key: FLINK-29993
                 URL: https://issues.apache.org/jira/browse/FLINK-29993
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Metrics, Tests
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.17.0


Configuring reporters programmatically is an uncommon task in tests, but is currently not convenient and error prone since you need to manually assemble the config key as it must contain the reporter name.

Add some factory methods to the `MetricOptions` to generate a config options at runtime given a reporter name.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)