zentol commented on a change in pull request #19263: URL: https://github.com/apache/flink/pull/19263#discussion_r839272782
########## File path: flink-core/src/main/java/org/apache/flink/configuration/MetricOptions.java ########## @@ -117,8 +119,88 @@ .withDescription( "The set of variables that should be excluded for the reporter named <name>. Only applicable to tag-based reporters (e.g., PRometheus, InfluxDB)."); + private static final Description.DescriptionBuilder addFilterDescription( + Description.DescriptionBuilder description) { + return description + .text("Filters are specified as a list, with each filter following this format:") + .linebreak() + .text("%s", code("<scope>[:<name>[;<name#N>][:type[;type#N]]]")) Review comment: I should add a test for the parsing of multiple patterns; I'm afraid the nested `;` might trow of the parser. -- 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