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

Nessie trying to connect to otlp endpoint when tracing is disabled #7458

Closed
logicpeters opened this issue Aug 31, 2023 · 2 comments · Fixed by #7459
Closed

Nessie trying to connect to otlp endpoint when tracing is disabled #7458

logicpeters opened this issue Aug 31, 2023 · 2 comments · Fixed by #7459

Comments

@logicpeters
Copy link

I have Nessie (0.67.0( being deployed on a Kubernetes cluster in AWS (deployed via Helm).
Im trying to run basic commands from Trino to Nessie (via Trino CLI), such as 'show schemas' and 'create schema', and getting the following error from the Nessie logs:

Failed to export spans. The request could not be executed. Full error message: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:4317

This (4317) looks like the otlp connector port, for the telemetry, however I have tracing disabled in the configuration:

tracing:
  # -- Specifies whether tracing for the nessie server should be enabled.
  enabled: false

Everything in my configuration is set to the defaults. Any ideas what is wrong?

@adutra
Copy link
Contributor

adutra commented Aug 31, 2023

Hi @logicpeters thanks for reporting this! The log message is benign in fact, but I agree that it's annoying.

I usually get rid of this message by adding the following env var to extraEnv:

    - name: QUARKUS_OTEL_SDK_DISABLED
      value: "true"

I wonder if we shouldn't include it automatically when tracing.enabled is false.

@logicpeters
Copy link
Author

thanks! this cleared the error message from the logs. my actual problem turned out that I was using https instead of http in the connection URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants