aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java4
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 84d21d3d..f6626135 100644
--- a/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java
+++ b/examples/src/main/java/io/opencensus/examples/helloworld/QuickStart.java
@@ -67,9 +67,7 @@ public final class QuickStart {
VIDEO_SIZE_VIEW_NAME,
"processed video size over time",
VIDEO_SIZE,
- Aggregation.Distribution.create(
- BucketBoundaries.create(
- Arrays.asList(0.0, (double) (1 << 8), (double) (1 << 16)))),
+ Aggregation.Distribution.create(BucketBoundaries.create(Arrays.asList(0.0, 256.0, 65536.0))),
Collections.singletonList(FRONTEND_KEY),
Cumulative.create());