-
Notifications
You must be signed in to change notification settings - Fork 4
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
Metrics can't be send due to gRPC error ResourceExhausted #23
Comments
Hi @kuzaxak Thanks for reporting the bug, yes it seems like we're hitting the limits 😢 Briefly looking I can see that there is an open issue open-telemetry/opentelemetry-go#4266 which should help here, but as the temporary alternative we could introduce the ability to set the parameters for gRPC |
As Kuzaxak mentioned I am having the same issues using grpc as well so I had to switch to using http instead to send the metrics without an issue. After a couple of minutes the gRPC error ResourceExhausted is shown in the console and it stops sending metrics. |
Switching to http sort of worked for me. I eventually started hitting errors reporting 400 Bad Request from the otel collector receiving the HTTP message. I ended up having to modify the otel collector to allow larger body sizes and then drop the url & name attributes because our URLs resulted in really high cardinality and then caused problems with the upstream collection. I think having some way in k6 to reduce the cardinality of the url & name attributes may be helpful but also sending the metrics in smaller batches would get around the max size issues. |
Yeah I have the same issue when I tested with otel collector @tpodom. |
Seems if message wasn't delivered once it tries to redeliver and keep increasing the message size.
The text was updated successfully, but these errors were encountered: