Shawyeok opened a new issue, #23475:
URL: https://github.com/apache/pulsar/issues/23475

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   `pulsar-perf` is constant print warning message every minute during running 
perf testing, IMO, it's reasonable to disable openTelemetry by default in 
pulsar-perf tool.
   ```
   Oct 17, 2024 8:17:26 AM io.opentelemetry.sdk.internal.ThrottlingLogger doLog
   WARNING: Failed to export metrics. Server responded with gRPC status code 2. 
Error message: Failed to connect to localhost/127.0.0.1:4317
   ...
   Oct 17, 2024 8:18:26 AM io.opentelemetry.sdk.internal.ThrottlingLogger doLog
   WARNING: Failed to export metrics. Server responded with gRPC status code 2. 
Error message: Failed to connect to localhost/127.0.0.1:4317
   ```
   
   ### Solution
   
   _No response_
   
   ### Alternatives
   
   Workaround:
   
   `export OTEL_SDK_DISABLED=true` before start pulsar-perf script.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to