This message originated from Cribl Community Slack.
Click here to view the original link.
I am shipping log data to an OTEL destination and I keep getting a RESOURCE_EXHAUSTED: gprc: received message after decompression larger than max 4194304
I am not really sure what I need to be tuning for this, in my pipeline I have my function set to batch in size of 4096 (see screenshot) and my destination is configured to have a body limit size of 4096 KB (see screenshot) - which should place me under that threshold per batch
Has anyone encountered this or like error with an OTEL destination? any tips on what I can check out?
Links for this message:
image.png
image.png
Solved
I Am Shipping Log Data To An Otel Destination And I Keep Getting A Resource_exhausted: Gprc: Received Message After…
Best answer by Emily Ashley
Let me take a look! I believe in the pipeline that
batch size is an event count and the batch size limit (kb) is where you'd adjust your batch groupings based on bytes.
But also, the logical batches created with batch functions are not guaranteed to map 1:1 to network transmissions. The OTel Destination optimizes for performance so it may send multiple logical batches in a single HTTP or gRPC call.
Let me double check on the OTel Destination settings to get us under this limit from snow HLASign up
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
