diff --git a/core/src/main/java/io/opentelemetry/android/export/RateLimitedExporter.java b/core/src/main/java/io/opentelemetry/android/export/RateLimitedExporter.java index bbbc4cea3..8c185b1d8 100644 --- a/core/src/main/java/io/opentelemetry/android/export/RateLimitedExporter.java +++ b/core/src/main/java/io/opentelemetry/android/export/RateLimitedExporter.java @@ -90,23 +90,23 @@ static class Builder { private CategoryFunction categoryFunction = span -> "default"; private long maxBytesPerSecond = 1024; // Default to 1 KB/s private long timeWindowInMillis = 1000; // Default to 1 second - + private Builder(SpanExporter delegate) { this.delegate = delegate; } - + Builder maxBytesPerSecond(long maxBytesPerSecond) { this.maxBytesPerSecond = maxBytesPerSecond; return this; } - + Builder timeWindow(Duration timeWindow) { this.timeWindow = timeWindow; return this; } - + BandwidthThrottlingExporter build() { return new BandwidthThrottlingExporter(this); } - } + } }