grafana / grafana-zabbix

Zabbix plugin for Grafana dashboard
http://play.grafana-zabbix.org
Apache License 2.0
2.07k stars 457 forks source link

Failed to call resource : ResourceExhausted desc = grpc: received message larger than max / Plugin Issue #1492

Open IlefMEDINI opened 2 years ago

IlefMEDINI commented 2 years ago

Hello,

We have an Internal Server Error : Failed to call resource, when we browse a large data for 30 days as time range, we have to mention that if we apply a smaller time range, data is displayed (when the time range is between 1 and 27 days), so it seems that it's the plugin !

the logs show : "level=error msg="Failed to call resource" error="failed to receive call resource response: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (18102820 vs. 16777216)" traceID=00000000000000000000000000000000"

So we think that it's caused by the amount of resources allocated, it is not enough : The received message/response is larger than the max, and to solve this problem we need to know if it's possible to reconfigure and to increase this max ! So could you please tell us how to do it ?

Environment : Grafana V9.0.2 / Zabbix 6.0. / Grafana-Zabbix Plugin: 4.2.9

Best regards,

mjtrangoni commented 2 years ago

Hi, If you look at the Datasource Configuration, you will find "Zabbix API details". See here. You can play around reducing the values there in Trends, After, and Range. Maybe you are overusing history data, and you need to look to use more trends.

IlefMEDINI commented 2 years ago

Hello,

Thank you for your answer, but actually this is not what I would like, I would like to be able to recover the data without reducing the data and for that it is necessary to configure the parameters (to modify and increase the max). Any idea for this ?

Thank you

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!