ruanhang1993 commented on code in PR #21889: URL: https://github.com/apache/flink/pull/21889#discussion_r1102391367
########## flink-core/src/main/java/org/apache/flink/configuration/MetricOptions.java: ########## @@ -272,6 +272,17 @@ public static Configuration forReporter(Configuration configuration, String repo .withDescription( "Defines the scope format string that is applied to all metrics scoped to a job on a JobManager. Only effective when a identifier-based reporter is configured"); + /** + * The scope format string that is applied to all metrics scoped to the components running on a + * JobManager of an operator. + */ + public static final ConfigOption<String> SCOPE_NAMING_JM_OPERATOR = + key("metrics.scope.jm-operator") + .stringType() + .defaultValue("<host>.jobmanager.<job_name>.<operator_name>") Review Comment: I will add the docs about it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org