JayajP commented on code in PR #28923:
URL: https://github.com/apache/beam/pull/28923#discussion_r1353414749
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorker.java:
##########
@@ -463,6 +463,11 @@ public static void main(String[] args) throws Exception {
// metrics.
MetricsEnvironment.setProcessWideContainer(new MetricsLogger(null));
+ // When enabled, the Pipeline will record Per-Worker metrics that will be
piped to WMW.
+ StreamingStepMetricsContainer.setEnablePerWorkerMetrics(
+ options.isEnableStreamingEngine()
+ && DataflowRunner.hasExperiment(options,
"enable_per_worker_metrics"));
Review Comment:
Will leave this as an experiment until I've done some load tests. Then I
will enable it as default for Streaming Engine Jobs.
--
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]