diff options
author | Kristen Kozak <sebright@google.com> | 2018-07-11 12:44:17 -0700 |
---|---|---|
committer | Kristen Kozak <sebright@google.com> | 2018-07-11 13:00:51 -0700 |
commit | 108bd04522ef5dad33228a9b20674c4111b93216 (patch) | |
tree | 5a4560c9906be3d9802191be7764d06d11ec6395 | |
parent | b3e35a26e6bd11debac97f29d7f299062006ca10 (diff) | |
download | opencensus-java-108bd04522ef5dad33228a9b20674c4111b93216.tar.gz |
Remove use of deprecated AggregationWindow from QuickStart.java.
-rw-r--r-- | examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java b/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java index 285ae81b..c71e0f3e 100644 --- a/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java +++ b/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java @@ -24,7 +24,6 @@ import io.opencensus.stats.Measure.MeasureLong; import io.opencensus.stats.Stats; import io.opencensus.stats.StatsRecorder; import io.opencensus.stats.View; -import io.opencensus.stats.View.AggregationWindow.Cumulative; import io.opencensus.stats.ViewData; import io.opencensus.stats.ViewManager; import io.opencensus.tags.TagContextBuilder; @@ -72,8 +71,7 @@ public final class QuickStart { VIDEO_SIZE, Aggregation.Distribution.create( BucketBoundaries.create(Arrays.asList(0.0, 16.0 * MiB, 256.0 * MiB))), - Collections.singletonList(FRONTEND_KEY), - Cumulative.create()); + Collections.singletonList(FRONTEND_KEY)); /** Main launcher for the QuickStart example. */ public static void main(String[] args) throws InterruptedException { |