-
Hello, 1. ContextWe are operating a live server, and as the date progresses, there is a batch operation that triggers frequent DB connections within a short period. When using the OpenTelemetry agent during this process, we face a CP timeout issue during the batch insert operations, leading to failures in the server’s core logic. 2. CauseWe suspect that the cause of this issue is due to the delay in returning the connection to the Connection Pool, which is caused by the instrumentation process of the agent’s interceptor. This delay seems to occur due to the trace generation and the insertion of data into the JVM’s internal agent buffer (queue). To elaborate, I hypothesize the following sequence of events:
3. Actions Taken and RequestReferring to the documentation at https://opentelemetry.io/docs/languages/java/configuration/, I have attempted to modify the I reviewed the documentation but could not find detailed explanations or parameters regarding the storage of trace data in the JVM buffer after generation, which is why I am raising this issue. I would like to understand whether, under the default options, the agent waits for space to become available in the buffer when it is full, or if it discards data when the buffer is full. Additionally, are there any parameters or documentation available to configure this behavior? Your assistance would be greatly appreciated. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, I’m posting a troubleshooting response for other similar cases. There were several misconceptions on my part, and this is the process of resolving them.
|
Beta Was this translation helpful? Give feedback.
Hello, I’m posting a troubleshooting response for other similar cases. There were several misconceptions on my part, and this is the process of resolving them.