Using Otel 1.26.0, getting Failed to connect to localhost/127.0.0.1:4317
error
#8708
-
I have been using
But, I was trying to use Opentelemetry-java-agent:1.26.0 with the following env variables and auto-instrumentation works fine however there is continuous error in app logs in exporting
Error in app logs:
Question is:
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
yes
metrics were enabled by default once they became stable
|
Beta Was this translation helpful? Give feedback.
yes
metrics were enabled by default once they became stable
check out https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#prometheus-exporter