-
Notifications
You must be signed in to change notification settings - Fork 175
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 org.opensearch.dataprepper.GrpcRequestExceptionHandler in dataprepper version 2.7.0 #4502
Comments
Hi @Megharaj-N, Thanks for reaching out. Have you tried increasing the buffer in DataPrepper or reducing the metrics batch size? The error message is:
This indicates, that you are emitting 286 records, that need to be put into the metrics input buffer, but gets stuck, because the buffer is not emptied. That can happen, if the sink is slow or unreachable. Another option is that you are providing too larege batches, that do not fit into the buffer entirely. Best Regards, |
@Megharaj-N , In 2.7 we changed the behavior of the source to output individual metrics instead of the whole group. You can multiply your buffer size by what your typical batch size would be. Say for example, you have 1,000 metrics per batch, multiply the buffer size by 1,000. This is the PR that introduced this change: #4183 |
Thank you @KarstenSchnitter & @dlvenable , Buffer related error has stopped now after increasing buffer size and reducing batch size in dataprepper config. However, we are still encountering other error as mentioned below.
Error log snippet from dataprepper
|
@Megharaj-N this looks like a client side timeout. DataPrepper seems to be taken more time, than your client is giving it. The client is closing the connection before DataPrepper is able to respond. This causes a closed stream on the DataPrepper side. What is the reaction of your client in that case? Can you try to increase the timeout? |
Hi @Megharaj-N, could you please let me know what your buffer/batch size was before and after? Experiencing the same issue on prepper 2.6.2. Thanks! |
Describe the bug
We have an Data Prepper & OpenTelemetry setup in our Kubernetes ecosystem running to collect metrics and traces and send the data to OpenSearch. This setup was working perfectly fine when we were running with below versions.
Recently we had performed a version upgrade of dataprepper component only to remove certain vulnerabilities associated with image. The new versions we are on are as below
However post this upgrade we are encountering below error in Data Prepper and metrics / traces are not reaching the Opensearch.
To Reproduce
Bring up similar setup on kubernetes ecosystem to collect and send metrics & traces to Opensearch.
Expected behavior
Metrics and traces collected from kubernetes need to flow to opensearch seamleslly,
The text was updated successfully, but these errors were encountered: