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

OpenTelemetry Tracing is Always Enabled #119

Closed
matrei opened this issue Dec 23, 2024 · 0 comments
Closed

OpenTelemetry Tracing is Always Enabled #119

matrei opened this issue Dec 23, 2024 · 0 comments

Comments

@matrei
Copy link
Contributor

matrei commented Dec 23, 2024

Even though there is no OpenTelemetry node running, tracing is enabled:

2024-12-23 09:22:07 09:22:07.896 ERROR [ThrottlingLogger.doLog] - Failed to export spans. The request could not be executed. Error message: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:4317
2024-12-23 09:22:07 java.net.ConnectException: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:4317
2024-12-23 09:22:07     at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
2024-12-23 09:22:07     at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
2024-12-23 09:22:07     at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
2024-12-23 09:22:07     at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
2024-12-23 09:22:07     at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
2024-12-23 09:22:07     at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
2024-12-23 09:22:07     at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
2024-12-23 09:22:07     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2024-12-23 09:22:07     at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
2024-12-23 09:22:07     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2024-12-23 09:22:07     at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
2024-12-23 09:22:07     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2024-12-23 09:22:07     at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
2024-12-23 09:22:07     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2024-12-23 09:22:07     at io.opentelemetry.exporter.sender.okhttp.internal.RetryInterceptor.intercept(RetryInterceptor.java:91)
2024-12-23 09:22:07     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
2024-12-23 09:22:07     at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
2024-12-23 09:22:07     at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
2024-12-23 09:22:07     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2024-12-23 09:22:07     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2024-12-23 09:22:07     at java.base/java.lang.Thread.run(Thread.java:840)
2024-12-23 09:22:07     Suppressed: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:4317
2024-12-23 09:22:07             ... 21 more
2024-12-23 09:22:07     Caused by: java.net.ConnectException: Connection refused
2024-12-23 09:22:07             at java.base/sun.nio.ch.Net.pollConnect(Native Method)
2024-12-23 09:22:07             at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
2024-12-23 09:22:07             at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
2024-12-23 09:22:07             at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
2024-12-23 09:22:07             at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
2024-12-23 09:22:07             at java.base/java.net.Socket.connect(Socket.java:633)
2024-12-23 09:22:07             at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
2024-12-23 09:22:07             at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
2024-12-23 09:22:07             ... 20 more
2024-12-23 09:22:07 Caused by: java.net.ConnectException: Connection refused
2024-12-23 09:22:07     at java.base/sun.nio.ch.Net.pollConnect(Native Method)
2024-12-23 09:22:07     at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
2024-12-23 09:22:07     at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
2024-12-23 09:22:07     at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
2024-12-23 09:22:07     at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
2024-12-23 09:22:07     at java.base/java.net.Socket.connect(Socket.java:633)
2024-12-23 09:22:07     at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
2024-12-23 09:22:07     at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
2024-12-23 09:22:07     ... 20 more
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

No branches or pull requests

1 participant