Skip to content

Commit

Permalink
Update Quickstart.java
Browse files Browse the repository at this point in the history
Increase "EXPORT_INTERVAL" from 60 seconds to 70 seconds, to work around census-instrumentation/opencensus-java#1808. (Otherwise, metrics do not actually get exported to Stackdriver.)
  • Loading branch information
mtabasko authored Apr 4, 2019
1 parent d42ffac commit d12ab30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d12ab30

Please sign in to comment.