From d12ab302251b3c3210ea0f017b7bb98d73abce3e Mon Sep 17 00:00:00 2001 From: mtabasko <34554386+mtabasko@users.noreply.github.com> Date: Thu, 4 Apr 2019 15:44:43 -0400 Subject: [PATCH] Update Quickstart.java Increase "EXPORT_INTERVAL" from 60 seconds to 70 seconds, to work around https://github.com/census-instrumentation/opencensus-java/issues/1808. (Otherwise, metrics do not actually get exported to Stackdriver.) --- opencensus/src/main/java/com/example/opencensus/Quickstart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencensus/src/main/java/com/example/opencensus/Quickstart.java b/opencensus/src/main/java/com/example/opencensus/Quickstart.java index 29c73ce6425..5a920cdb7cd 100644 --- a/opencensus/src/main/java/com/example/opencensus/Quickstart.java +++ b/opencensus/src/main/java/com/example/opencensus/Quickstart.java @@ -36,7 +36,7 @@ import java.util.concurrent.TimeUnit; public class Quickstart { - private static final int EXPORT_INTERVAL = 60; + private static final int EXPORT_INTERVAL = 70; private static final MeasureLong LATENCY_MS = MeasureLong.create( "task_latency", "The task latency in milliseconds",