diff --git a/.changeset/floppy-singers-carry.md b/.changeset/floppy-singers-carry.md new file mode 100644 index 0000000..056427d --- /dev/null +++ b/.changeset/floppy-singers-carry.md @@ -0,0 +1,5 @@ +--- +'grafana-zabbix': patch +--- + +Set grpc limits explicitly diff --git a/pkg/plugin.go b/pkg/plugin.go index cd35a26..8c44754 100644 --- a/pkg/plugin.go +++ b/pkg/plugin.go @@ -26,6 +26,10 @@ func main() { CallResourceHandler: httpResourceHandler, QueryDataHandler: ds, CheckHealthHandler: ds, + GRPCSettings: backend.GRPCSettings{ + MaxReceiveMsgSize: 32 * 1024 * 1024, + MaxSendMsgSize: 100 * 1024 * 1024, + }, }) if err != nil { pluginLogger.Error("Error starting Zabbix datasource", "error", err.Error())