sensu / sensu-go

Simple. Scalable. Multi-cloud monitoring.
https://sensu.io
MIT License
1.02k stars 175 forks source link

Eventd - rpc error trying to send message larger than max #3260

Open Dchamard opened 5 years ago

Dchamard commented 5 years ago

Hi,

We are running 5.11.1 version and running onti this error.

{"component":"eventd","error":"rpc error: code = ResourceExhausted desc = trying to send message larger than max (2671754 vs. 2097152)","level":"error","msg":"eventd - error handling event","time":"2019-09-06T16:19:35Z"}

I can reproduce it by sending a big event. This is using a metric handler sending metrics. This is a big event that should be sent to graphite with our handler.

The same event is working on sensu-core. Could the max size be configurable? I saw that Kubernetes has that configurable. The GRPC message maz size.

palourde commented 5 years ago

We would simply need to make clientv3.Config.MaxCallSendMsgSize & clientv3.Config.MaxCallRecvMsgSize configurable (see https://github.com/etcd-io/etcd/tree/master/clientv3#request-size-limit).

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.