-
Notifications
You must be signed in to change notification settings - Fork 6
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
ERROR io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export logs. The request could not be executed. Full error message: timeout-------logs error with grafana-otel-java-agent #742
Comments
@maryliag can we use the otel tester? |
yes! Are you able to install and run a Go binary in your cluster? If so, the steps can be found here: https://github.com/grafana/otel-checker |
hi @maryliag -- i am not allowed to use the otel checker however i found the issue. The issue was due to loki limits. Due to a large number of logs flowing into loki (approl 50k/sec) , grafana alloy buffer was getting filled and thus the **FAILED TO EXPORT LOGS MESSAGE **** was coming again and again. As soon as i increased the loki limits it started workin fine. -------------- the config i found on google is |
@maryliag --- However i ran into another problem, I want to increase my loki-write pods as logs will increase and now loki-pods are not getting into ready state. the error message is ----Readiness probe failed: HTTP probe failed with statuscode: 503. |
@Venture704 I've reached out to the loki team to get some help. |
I can't think of anything in the Java Agent that would cause this |
Hi @zeitlinger, just want to know that is there any way by which i can decrease the response time of the OTLP receiver of the grafana alloy, as i have over 200 pods(spring boot 2.7) sending otlp data to the grafana alloy. I will use otel-checker, very soon. |
sound like a great question for https://github.com/grafana/alloy |
In my kubernetes cluster while using grafana-opentelemetry-java-agent as init container in my springboot apps i am encounting this issue.
Details
springboot version 2.7.3
jhipster version-793
full Error ----
[otel.javaagent 2024-10-11 08:13:14:920 +0000] [BatchLogRecordProcessor_WorkerThread-1] DEBUG io.opentelemetry.sdk.logs.export.BatchLogRecordProcessor$Worker - Exporter failed
[otel.javaagent 2024-10-11 08:13:25:931 +0000] [OkHttp http://grafana-k8s-monitoring-grafana-agent.monitoring.svc.cluster.local:4318/...] ERROR io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export logs. The request could not be executed. Full error message: timeout
java.net.SocketTimeoutException: timeout
at okio.SocketAsyncTimeout.newTimeoutException(JvmOkio.kt:146)
at okio.AsyncTimeout.access$newTimeoutException(AsyncTimeout.kt:186)
at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:390)
at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:436)
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:329)
at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:180)
at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:110)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at io.opentelemetry.exporter.sender.okhttp.internal.RetryInterceptor.intercept(RetryInterceptor.java:91)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:204)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at okio.InputStreamSource.read(JvmOkio.kt:93)
at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:153)
... 22 more
[otel.javaagent 2024-10-11 08:13:25:932 +0000] [BatchLogRecordProcessor_WorkerThread-1] DEBUG io.opentelemetry.sdk.logs.export.BatchLogRecordProcessor$Worker - Exporter failed
The text was updated successfully, but these errors were encountered: