Meteor-Community-Packages/meteor-elastic-apm

Receiving "event exceeded the permitted size" uploading file with Meteor-Files

SimonSimCity opened this issue · 2 comments

I've noticed that the console reports Error: event exceeded the permitted size. if I upload a file on https://github.com/VeliovGroup/Meteor-Files which is quite large (more than 2mb).

Could be fixed by #34

Fixed by fully ignoring all DDP methods whose name starts with _FilesCollectionWrite_. In this way we ignore (and loose) a lot of the messages but also skip sending a ton of methods to Elastic APM.