Skip to content

Commit

Permalink
Decrease DEFAULT_SCHEDULE_DELAY time for JaegerTracerBuilder (#7726)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Aleksandrov <dmitry.aleksandrov@oracle.com>
  • Loading branch information
dalexandrov authored Oct 5, 2023
1 parent e6cfd38 commit 537dfb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 537dfb7

Please sign in to comment.