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

pulsar-perf tool constant print WARNING: Failed to export metrics #23475

Open
2 tasks done
Shawyeok opened this issue Oct 17, 2024 · 0 comments · May be fixed by #23585
Open
2 tasks done

pulsar-perf tool constant print WARNING: Failed to export metrics #23475

Shawyeok opened this issue Oct 17, 2024 · 0 comments · May be fixed by #23585
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Comments

@Shawyeok
Copy link
Contributor

Shawyeok commented Oct 17, 2024

Search before asking

  • I searched in the 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.

According https://opentelemetry.io/docs/languages/java/configuration/#properties-general

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@Shawyeok Shawyeok added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant