Skip to content

Commit

Permalink
Disable OTel by default when running the pulsar-perf tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawyeok committed Nov 11, 2024
1 parent 137df29 commit 166ce03
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package org.apache.pulsar.testclient;

import static org.apache.commons.lang3.StringUtils.isNotBlank;
import io.opentelemetry.sdk.autoconfigure.AutoConfiguredOpenTelemetrySdk;
import java.lang.management.ManagementFactory;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
Expand Down Expand Up @@ -77,9 +76,7 @@ public static ClientBuilder createClientBuilderFromArguments(PerformanceBaseArgu
.listenerThreads(arguments.listenerThreads)
.tlsTrustCertsFilePath(arguments.tlsTrustCertsFilePath)
.maxLookupRequests(arguments.maxLookupRequest)
.proxyServiceUrl(arguments.proxyServiceURL, arguments.proxyProtocol)
.openTelemetry(AutoConfiguredOpenTelemetrySdk.builder()
.build().getOpenTelemetrySdk());
.proxyServiceUrl(arguments.proxyServiceURL, arguments.proxyProtocol);

if (isNotBlank(arguments.authPluginClassName)) {
clientBuilder.authentication(arguments.authPluginClassName, arguments.authParams);
Expand Down

0 comments on commit 166ce03

Please sign in to comment.