Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x] - Decrease DEFAULT_SCHEDULE_DELAY time for JaegerTracerBuilder #7726

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public class JaegerTracerBuilder implements TracerBuilder<JaegerTracerBuilder> {

static final boolean DEFAULT_ENABLED = true;
static final String DEFAULT_HTTP_HOST = "localhost";
static final int DEFAULT_SCHEDULE_DELAY = 30_000;
static final int DEFAULT_SCHEDULE_DELAY = 5_000;
static final int DEFAULT_HTTP_PORT = 14250;
static final int DEFAULT_MAX_QUEUE_SIZE = 2048;
static final int DEFAULT_MAX_EXPORT_BATCH_SIZE = 512;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void testConfigDefaults() {
assertThat("Span Processor type", jBuilder.spanProcessorType(), is(JaegerTracerBuilder.SpanProcessorType.BATCH));
assertThat("Sampler param", jBuilder.samplerParam(), is(Integer.valueOf(1)));
assertThat("Exporter timeout", jBuilder.exporterTimeout(), is(Duration.ofSeconds(10)));
assertThat("Schedule delay", jBuilder.scheduleDelay(), is(Duration.ofSeconds(30)));
assertThat("Schedule delay", jBuilder.scheduleDelay(), is(Duration.ofSeconds(5)));
assertThat("Max Queue Size", jBuilder.maxQueueSize(), is(2048));
assertThat("Max Export Batch Size", jBuilder.maxExportBatchSize(), is(512));
}
Expand Down