Skip to content

Commit

Permalink
Fix the JMH task execution failure. (#6495)
Browse files Browse the repository at this point in the history
  • Loading branch information
huange7 authored Jun 10, 2024
1 parent 5ad5b06 commit 7ee367a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions sdk/trace/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ dependencies {
jmh(project(":exporters:otlp:common")) {
isTransitive = false
}
jmh(project(":exporters:common")) {
isTransitive = false
}
jmh(project(":exporters:sender:okhttp"))
jmh(project(":sdk-extensions:autoconfigure-spi")) {
isTransitive = false
}
jmh("io.opentelemetry.proto:opentelemetry-proto")

jmh("com.google.guava:guava")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private ExporterBenchmark() {}
@State(Scope.Benchmark)
public abstract static class AbstractProcessorBenchmark {
private static final DockerImageName OTLP_COLLECTOR_IMAGE =
DockerImageName.parse("otel/opentelemetry-collector-dev:latest");
DockerImageName.parse("otel/opentelemetry-collector-contrib:latest");
protected static final int OTLP_PORT = 5678;
private static final int HEALTH_CHECK_PORT = 13133;
protected SdkSpanBuilder sdkSpanBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private SpanPipelineBenchmark() {}
@State(Scope.Benchmark)
public abstract static class AbstractProcessorBenchmark {
private static final DockerImageName OTLP_COLLECTOR_IMAGE =
DockerImageName.parse("otel/opentelemetry-collector-dev:latest");
DockerImageName.parse("otel/opentelemetry-collector-contrib:latest");
private static final int EXPOSED_PORT = 5678;
private static final int HEALTH_CHECK_PORT = 13133;
private Tracer tracer;
Expand Down

0 comments on commit 7ee367a

Please sign in to comment.