metaswirl commented on a change in pull request #19263:
URL: https://github.com/apache/flink/pull/19263#discussion_r839272945



##########
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:
       So, I prefer something like:
   
   - `*.job.task.operator:numRecords*:meter;gauge`
   - `*.job.task.operator:debloatedBufferSize:meter;gauge`
   - `*.job.task.operator:mailboxLatency*:meter;gauge`
   
   over 
   
   - 
`*.job.task.operator:numRecords*;debloatedBufferSize;mailboxLatency*:meter;gauge`
   
   To me this is just too much variation one one line. But maybe it's just me.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to