pnowojski commented on code in PR #26985:
URL: https://github.com/apache/flink/pull/26985#discussion_r2354859322


##########
flink-core/src/main/java/org/apache/flink/configuration/TraceOptions.java:
##########
@@ -67,6 +82,19 @@ public static Configuration forReporter(Configuration 
configuration, String repo
                                     + " any of the names in the list will be 
started. Otherwise, all reporters that could be found in"
                                     + " the configuration will be started.");
 
+    /** The detail level for reporting checkpoint spans. */
+    public static final ConfigOption<TraceOptions.CheckpointSpanDetailLevel>
+            CHECKPOINT_SPAN_DETAIL_LEVEL =
+                    key("traces.checkpoint.span-detail-level")
+                            
.enumType(TraceOptions.CheckpointSpanDetailLevel.class)
+                            
.defaultValue(CheckpointSpanDetailLevel.SPANS_PER_CHECKPOINT)
+                            .withDescription(
+                                    "Detail level for reporting checkpoint 
spans. Possible values:\n"
+                                            + "- SPAN_PER_CHECKPOINT 
(default): Single span per checkpoint. Aggregated sum/max for submetrics from 
all tasks and subtasks per checkpoint\n"

Review Comment:
   I have also re-used constants to avoid problems with names getting out of 
sync.



-- 
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

Reply via email to